HTTP Interface for Sending SMS

URL

  1. http://sms.message-platform.com/http/send.aspx
http://sms.message-platform.com/http/send.aspx

Description

The HTTP interface can be accessed using either HTTP GET or POST requests.

All parameters must be URL-Encoded.

You can send a single message to a single recepient or, a single message to multiple recipients. This can be achieved by including multiple numbers in the ‘To’ parameter separated by commas.

The recommended maximum number of recipient numbers in a single request is 50 and the recommended request method is HTTP POST.

HTTPS can be used for secure connections by replacing http in the URLs with https.

Response

The response takes the form of individual lines for each destination mobile number.
Each line indicating successfully received by the API, or an error:

Success

  1. To: mobile number ID: message id
To: mobile number ID: message id

Error with individual destination

  1. To: mobile number Error X: error message
To: mobile number Error X: error message

General Error

A general error indicates the whole batch failed and could be caused by such things as an incorrect username or password, or insufficient credit:

  1. Error X: error message
Error X: error message

For full list of error codes please see the delivery State Error Codes.

Examples

For full details of the HTTP GET and POST interface please see the examples.