Skip to content

en usage pipelines coze

langbot-wiki-sync[bot] edited this page Jul 29, 2026 · 1 revision

Integrating Coze API

This document explains how to obtain the Token and Bot ID from the Coze platform and enter them into the LangBot pipeline configuration.

1. Obtaining the Token and Bot ID

  1. Log in to the Coze platform and enter your developer console. Coze Application API Key

  2. In "API Management", create and copy the token. Coze Application API Key

Note

In Coze authorization, coze.cn supports long-term authorization through "Service Identities and Credentials", while coze.com only provides Personal Access Tokens.

  1. Select your own agent (or create a new one) from the project development section. The obtained ID is the bot_id. Coze bot_id
  • Make sure to select the API option when publishing the agent Coze Application API Key

Please securely store the following two pieces of information:

  • token: The token generated by the Coze platform
  • bot_id: The Bot ID

2. Entering the Configuration in LangBot

  1. Open the LangBot WebUI and navigate to the configuration page of a pipeline (or create a new pipeline and enter its configuration page)

  2. Under "AI Capabilities", select the runner as Coze API

  3. In the runner's configuration items, enter:

    • token: Paste the API Token you copied from the Coze platform
    • bot_id: Paste the corresponding Bot ID
    • Please select the API Base URL according to the Coze site you are using: coze.cn please fill in https://api.coze.cn; coze.com please fill in https://api.coze.com

    Pipeline Configuration

  4. Click "Save" to complete the configuration

Once completed, you can invoke the Coze agent within this pipeline for dialogue processing

Frequently Asked Questions (FAQ)

  • Save fails or invocation returns an error: Please verify that the token and bot_id are correct and do not contain extra spaces
  • Unable to select Coze API: Please confirm whether the current version supports this runner. If not yet supported, please upgrade to a version that includes the Coze runner

For more general pipeline configuration instructions, please refer to Modifying Dialogue Pipeline Configuration

LangBot Documentation

Home

简体中文
指南
开发者
API 参考
Other pages
English
Guides
Developers
API Reference
Other pages
日本語
ガイド
開発者
API リファレンス
Other pages

Clone this wiki locally