platform
sending-strategy

Create sending strategy

Create sending strategy.

post/provisioning/2/sending-strategies

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

channelstring

Channel for which the Sending Strategy is created. Supported channels: SMS, MMS, RCS. If left empty, Sending Strategy will be applied to all supported channels.

destinationCountryCodestring

Country code, in two-letter ISO standard, 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.

useStickySenderboolean

If true, the same sender will be used for any subsequent interactions with the end user (inside one country).

useGeolocatedSenderboolean

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.

Example request

{
  "channel": "SMS",
  "destinationCountryCode": "US",
  "priorities": [
    {
      "senderType": "ALPHANUMERIC",
      "priority": 1
    }
  ]
}

Response

Created.

sendingStrategyIdstring required

Id of the sending strategy.

Example response

{
  "sendingStrategyId": "78D8394AC3EG0460B4CF0E723FC31B49"
}

Changes

No recorded changes to this operation across all 1 revision of this API.