Add Sender

Adds a Sender.

POST https://api.cm.com/messages/v1/accounts/{accountId}/senders

Parameters

TypeNameDescriptionSchema
PathaccountId
required
The accountId.string (uuid)

Body parameter

The sender.

Name : sender
Flags : required
Type : CM.Platform.Campaigns.Models.ApiSenderPresetRequest

Responses

HTTP CodeDescriptionSchema
201CreatedCM.Platform.Campaigns.Models.ApiSenderPresetResponse

Example HTTP request

Request path
https://api.cm.com/messages/v1/accounts/00000000-0000-0000-0000-000000000000/senders
Request body
{ "isFavorite" : true, "name" : "string", "senders" : { "string" : "string" } }

Example HTTP response

Response 201
{ "id" : "00000000-0000-0000-0000-000000000000", "isFavorite" : true, "name" : "string", "senders" : { "string" : "string" } }

Did this page help you?