Create sending strategy
Create sending strategy.
Authorizations:
Scopes:
Request rate limit:
Request Body schema:
application/jsonplatform | object Platform options. For more details, see documentation. | ||||
| |||||
channel | string [ 1 .. 255 ] characters Channel for which the Sending Strategy is created. Only SMS and MMS are allowed for now. If left empty, Sending Strategy will be applied to both. | ||||
destinationCountryCode | string Country code of the country the messages are terminating to for which the Sending Strategy will be used. If left empty, Sending Strategy will attempt to be used for all the countries where you have senders provisioned. | ||||
useStickySender | boolean Default: false If true, the same sender will be used for any subsequent interactions with the end user (inside one country). | ||||
useGeolocatedSender | boolean Default: false If true, the sender will be selected from the list of senders based on the nearest local area code. Supported for US and CA for now. | ||||
priorities | Array of objects Priorities of the senders that can be defined in case there is more than one sender for a destination country. | ||||
Array
|
Responses
Created.
Bad request.
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Application level
{- "platform": {
- "applicationId": "default"
}
}
Response samples
- 201
- 400
- 401
- 403
- 429
- 500
{- "sendingStrategyId": "78D8394AC3EG0460B4CF0E723FC31B49"
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See