POST
/
sms

Headers

ApiKey
string
required

Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.

MerchantId
string
required

Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.

Environment
enum<string>
required

Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.

Available options:
live,
sandbox

Body

application/json
destinations
string[]
required

Array of destinations number with country code (+44...) or in international format (0044 ...)

message
string
required

Message content

senderName
string
required

Merchant name

webhookUrl
string
deprecated

Webhook Url

Response

201 - application/json
id
string
required

unique identifier for the sms.

senderId
string
required

Identifier of the merchant that send the sms

senderName
string
required

name of the merchant that send the sms

destination
string
required

Number of the recipient with country code (+44...) or in international format (0044 ...)

smsCount
number
required

Number of Sms sent , depending on the message length (1 sms per 160 character)

message
string
required

Message content

status
string
required

Status of the sms

createdAt
string
required

Datetime in UTC timezone at which the sms was created. Follows theDatetime ISO.

sentAt
string
required

Datetime in UTC timezone at which the sms was sent. Follows theDatetime ISO.

receivedAt
string
required

Datetime in UTC timezone at which the sms was received. Follows theDatetime ISO.

failureCause
object
required

Object describing the failure