Skip to main content
Coze is an AI agent and workflow builder. You can connect CometAPI to Coze in two ways: via the native CometAPI plugin (simplest) or via a generic HTTP Request node for maximum flexibility.

Prerequisites

1

Get your CometAPI API key

Log in to the CometAPI console. Click Add API Key and copy your sk-xxxxx key.
CometAPI dashboard showing the Add API Key button
CometAPI API key details with base URL
2

Add CometAPI to a Coze workflow

3

Test and publish

Run a test message in the workflow (e.g. ask for the current time). A successful AI reply confirms the integration is working. Publish the workflow to make it live.
Coze workflow showing a successful test response
Published Coze agent responding correctly
If the call fails, verify your API key and endpoint URL, or contact CometAPI support.
The plugin method is recommended for most users — it handles authentication and response parsing automatically. Use the HTTP Request node when you need full control over request headers or want to call a non-chat endpoint.