Channels
Channels are communication endpoints that connect your assistants to different platforms like WhatsApp Business API, web widgets, and custom integrations. Channels handle message routing, webhook configuration, and platform-specific settings.List Channels
GET /channels
Returns a paginated list of all channels in your workspace.
Response
Success message
Array of channel objects
Get Channel
GET /channels/:channel_id
Returns detailed information about a specific channel.
Channel unique identifier
Response
Success message
Update Channel
PUT /channels/:channel_id
Updates an existing channel’s properties.
Channel unique identifier
Request Body
string
Channel name (3-100 characters)
object
Channel-specific settings
boolean
Whether the channel should be active
Delete Channel
DELETE /channels/:channel_id
Deletes a channel permanently.
Channel unique identifier
WhatsApp Business API
Create WhatsApp Channel
POST /channels/waba
Creates a new WhatsApp Business API channel.
Send WhatsApp Message
POST /channels/:channel_id/waba/send
Sends a WhatsApp message using a template.
Channel unique identifier
Request Body
object
required
string
required
WhatsApp template ID
string
required
Template type:
text, list, or carouselstring
required
Template language:
en_US or pt_BRobject
Template components and parameters
WhatsApp Templates
List Templates
GET /channels/:channel_id/waba/templates
Lists all WhatsApp Business templates for a channel.
Channel unique identifier
Create Template
POST /channels/:channel_id/waba/templates
Creates a new WhatsApp Business template.
Channel unique identifier
Request Body
string
required
Template name
string
required
Template category:
MARKETING, AUTHENTICATION, or UTILITYstring
required
Template language code
string
Template message content
array
required
Template components (headers, body, buttons, etc.)
boolean
Whether this is a carousel template
Worker Integration
Sync Worker to Channel
POST /channels/:channel_id/worker/:worker_id
Syncs a worker to a channel, enabling the worker’s assistants to handle conversations on that channel.
Channel unique identifier
Worker unique identifier
Channel Types
WhatsApp Business API
WhatsApp Business API channels enable you to send and receive messages through WhatsApp. They require:- WhatsApp Business Account setup
- Template approval from Meta
- Proper webhook configuration
