SMS messages are sent by making HTTP or HTTPS calls to the API. You can loop through your list of mobile numbers and make HTTPS requests to send SMS messages to them.
The REST API supports the following SMS features:
Parameter
|
Description
|
---|---|
content |
Content of the message |
to |
Number to deliver the message to (number must start with ‘+’) |
from |
The two-way number that will be used for message delivery |
binary |
Message body (content) delivered by client needs to be in binary format |
clientMessageId |
Value received from client system |
scheduledDeliveryTime |
Schedule your message to be delivered at a specified time in format: yyyy-MM-ddTHH:mm:ss+0200 (with +0200 representing the time zone). Example: “scheduledDeliveryTime”:”2017-02-27T14:30:00+0200″ |
userDataHeader |
UDH (user data header) content of a message |
validityPeriod |
Our system will attempt to resubmit unsuccessful messages for the duration of the validity period. The request will be canceled if it has not been successfully processed once the validity period is exceeded. The default period is 1440 minutes (1 day). |
charset |
ASCII, UCS2-BE, UTF-8, Windows-1252. If you do not specify the charset, it will be treated as UTF-8 by default. |