Create a new channel
Channels
Create a new channel
Create a new channel.
POST
Create a new channel
Documentation Index
Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your CometChat REST API Key.
Headers
Tenant application ID
Body
application/json
Channel display name
Example:
"My Push Channel"
Channel type
Available options:
in_app, push, sms, email, whatsapp, custom Example:
"push"
Channel slug (auto-generated from name if omitted)
Example:
"cc-notification-channel-my-push"
Whether the channel is enabled
Channel-specific metadata
Example:
{ "apiKey": "xxx", "senderId": "yyy" }
Response
Channel created