Add Sender
Adds a Sender.
POST https://api.cm.com/messages/v1/accounts/{accountId}/senders
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path | accountId required | The accountId. | string (uuid) |
Body parameter
The sender.
Name : sender
Flags : required
Type : CM.Platform.Campaigns.Models.ApiSenderPresetRequest
Responses
HTTP Code | Description | Schema |
---|---|---|
201 | Created | CM.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"
}
}
Updated about 2 years ago