SendService
Methods to send SMS messages individually and in batches. Click here for a free trial.
The following operations are supported. For a formal definition, please review the Service Description.
-
SendMessageMultipleRecipients
Sends an SMS message to the specified recipients using the default originator and validity period
Parametersrecipients An array of mobile numbers to send the message to body The content of the message. 160 max characters per part for Text, 140 octets max for Binary and SmartMessaging, 70 octet pairs for Unicode messages. Longer message bodies will be sent as multiple message parts. type The type of message (Text, Binary, SmartMessage, Unicode) Returns
An array of identifiers assigned to the messages by Esendex. You can use these values to query the status of each message. -
SendMessageMultipleRecipientsFull
Sends an SMS message to the specified recipients
Parametersoriginator The alias the message should appear to come from. Can be another phone number or up to 11 alpha numeric characters recipients An array of mobile numbers to send the message to body The content of the message. 160 max characters per part for Text, 140 octets max for Binary and SmartMessaging, 70 octet pairs for Unicode messages. Longer message bodies will be sent as multiple message parts. type The type of message (Text, Binary, SmartMessage, Unicode) validityperiod The validity period of the message in hours. Returns
An array of identifiers assigned to the messages by Esendex. You can use these values to query the status of each message. -
SendMessageBatch
Sends an SMS message to the specified recipient using the default originator and validity period
Parametersmessages Array of messageSubmission elements to send Returns
An array of identifiers assigned to the messages by Esendex. You can use these values to query the status of each message. If an individual message fails, the ID returned will be 00000000-0000-0000-0000-000000000000 and the message will not be stored. -
SendMessageFull
Sends an SMS message to the specified recipient
Parametersoriginator The alias the message should appear to come from. Can be another phone number or up to 11 alpha numeric characters recipient The mobile number to send the message to body The content of the message. 160 max characters per part for Text, 140 octets max for Binary and SmartMessaging, 70 octet pairs for Unicode messages. Longer message bodies will be sent as multiple message parts. type The type of message (Text, Binary, SmartMessage, Unicode) validityperiod The validity period of the message in hours. Returns
The identifier assigned to the message by Esendex. You can use this value to query the message status. -
SendMessage
Sends an SMS message to the specified recipient using the default originator and validity period
Parametersrecipient The mobile number to send the message to body The content of the message. 160 max characters per part for Text, 140 octets max for Binary and SmartMessaging, 70 octet pairs for Unicode messages. Longer message bodies will be sent as multiple message parts. type The type of message (Text, Binary, SmartMessage, Unicode) Returns
The identifier assigned to the message by Esendex. You can use this value to query the message status. -
GetMessageStatus
Sends an SMS message to the specified recipient using the default originator and validity period
Parametersid The identifier of the message whose status you want to query. Returns
The message status. This can be Queued, Sent, Delivered or Failed.