Send SMS text message
The 'Send Text' API allows an application to send a text message to a mobile number
Important: You will need an API key to use this API. Register for a free account here.
Features:
- Send an SMS Text message
Usage
Post a JSON array containing an api_key and and ip_address to http://msapi.com/send_text
{"api_key":"abcdefghijklmnopqrstuvwxyz","text":"Hello World","destination_number":"3531234567","identifier":"YourName"}
Sample output
The resulting output is a JSON array showing a Success message or a failure error code
{"response":"Success"}
Parameters
| Preference | Default Value | Options | Description |
|---|---|---|---|
| api_key | Required | None | Your API Key |
| text | Required | None | The text to send. Maximum 160 characters. |
| destination_number | Required | None | A valid mobile phone number in international format |
| identifier | Required | None | Sender name. Maximum 11 characters. |
Error codes
| Error notice | Cause |
|---|---|
| Failed to send. Error 203 | Invalid value for parameter: destination_number |
| Failed to send. Error 211 | Invalid value for parameter: identifier |
Credits
This API is made possible by WebText.com