Get Channels
Gets available channels.
GET https://api.cm.com/messages/v1/accounts/{accountId}/messagechannels
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path | accountId required | The accountId. | string (uuid) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | OK | < CM.Platform.Campaigns.Models.ApiCampaignChannel > array |
Example HTTP request
Request path
/messages/v1/accounts/string/messagechannels
Example HTTP response
Response 200
[ {
"id" : "string",
"allowImages" : true,
"name" : "string",
"whatsAppRequestId" : "00000000-0000-0000-0000-000000000000",
"type" : "string"
} ]
Channel id is to be used in the channels array in campaign request.
Updated over 2 years ago