POST /api/channels
Create a new notification delivery channel. The channel type determines the delivery medium, and the key slug is auto-generated from the name.
Headers
Your CometChat App ID.
Your CometChat API Key.
Request body
Display name for the channel.
Channel type:
in_app, push, sms, email, whatsapp, or custom.Either
ui (rich templates) or data (raw payloads).Whether the channel is active for delivery.
Enable category-based filtering. Immutable after creation.
Enable template labeling. Immutable after creation.
Channel-specific configuration (e.g., push credentials, SMTP settings).