Create sending strategy

Create sending strategy.

Please log in to see full path URL. Learn why.
post
/provisioning/2/sending-strategies
Request rate limit:
1 requests / second (per account)
Request Body schema:
application/json
collapse all -
platform
object

Platform options. For more details, see documentation.

entityId
string [ 0 .. 255 ] characters

Used when specifying an entity in outbound send requests. It is also returned in notification events. For detailed usage, refer to the documentation.

applicationId
string [ 0 .. 255 ] characters

Used when specifying an application in outbound send requests. It is also returned in notification events. For detailed usage, refer to the 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
senderType
required
string
Enum: "ALPHANUMERIC" "VIRTUAL_LONG_NUMBER" "SHORT_CODE" "TOLL_FREE_NUMBER"

Sender type.

priority
required
integer <int32> [ 1 .. 4 ]

Priority of sender type, from 1 to a maximum of 4. Lower number means higher priority.

Responses

201

Created.

400

Bad request.

401

Unauthorized

403

Forbidden

429

Too Many Requests

500

Internal Server Error

Request samples

Content type
application/json
Example

Application level

Copy
Collapse all
{
  • "platform":
    {
    • "applicationId": "default"
    }
}

Response samples

Content type
application/json
Copy
Collapse all
{
  • "sendingStrategyId": "78D8394AC3EG0460B4CF0E723FC31B49"
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.