Create a channel
POST
/org/{tenant_code}/v2/messaging/channels
Platform support: MT
Token Cost: 2 tokens (low)
Creates a channel and returns it. A facebook or whatsapp channel is
first registered with the CMP service using cmp_setup_data; a
livechat channel requires at least one alert email to be configured
in the messaging settings.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 500
Channel created.
Input failed validation, the destination queue has no members, or no alert email is set while creating a live chat channel.
Missing or invalid X-User-Identity header.
Messaging module is not activated in license and the grace period is over.
Unknown tenant.
A channel with the same endpoint already exists.
Unhandled server-side error, including a failed registration with the CMP service.