Prerequisites
- Permission to create channels
- A client that can POST JSON with an
Authorization: Bearerheader
Connect
1
Open Channels
In the project sidebar, select Channels.
2
Create API
Select API. Enter Channel Name and API Endpoint Name (the channel identifier, for example
my-api-endpoint). Create the channel.3
Save the API key
Copy Your API Key immediately. It is shown only once. Store it somewhere safe.
Verify
POST a test message to the webhook URL from the channel list, with
Authorization: Bearer and your key. The conversation appears in Conversations.Use it
Webhook URL: the endpoint shown for this channel (organization, project, and channel id). Authentication:Authorization: Bearer YOUR_API_KEY
Example:
ORG_ID, PROJECT_ID, CHANNEL_ID, and YOUR_API_KEY with your values. Do not commit real keys.
In channel settings you can rename the channel. Channel Identifier cannot change. Use API Key Management to see a masked key and rotate it.
Limits
- One API key is active at a time. Rotate invalidates the previous key.
- The identifier is fixed after create.
Troubleshooting
I lost the key
I lost the key
Open the API channel settings and choose Rotate API Key. Copy the new key once.
No conversation appears
No conversation appears
Confirm the URL includes the correct organization, project, and channel ids, and that the JSON includes
message and user_id.
