Send a Text Message
Find out what you can do with our API...
API method to use: send_text_messageDocumentation on the T2A API send_text_message method which sends a text message (SMS) to a mobile telephone number.
Sends a text message (SMS) to a mobile telephone number. The message may be longer than the maximum SMS length of 160 characters; your account is charged for each block of up to 160 characters.
If a character outside of the range 0-127 is detected in the message text, the message is sent as Unicode.
The message is sent as quickly as possible; delivery is normally within a few seconds.
The use of the
send_text_message method is only permitted to authorised users. Please contact us to request access.
|telephone_number||The mobile telephone number. If no country code is included, we assume this to be a UK mobile number. The method takes care of the formatting of the number.|
|message||The message text. If a character outside of the range 0-127 is present, the message is sent as Unicode.|
|client||You can optionally include an identifier for your final client or user. This is logged in your usage log and you will be able to view your usage statistics by client.|
|callback||When using JSON, specify a JSONP wrapper in which the JSON response is to be wrapped.|
The XML response is contained within a
|error_code||Returns the error code when the status is
|t2a_version_number||The current API version number.|
|credit_used||The number of credits used in order to execute the request.|
See the common error codes.
Free Test Mode
When operating in the free test mode errors are returned if mandatory parameters are missing, or it returns a dummy data response, in an identical format to a real response.
Note that the
mode is returned as
test when the method is operating in the free test mode.