|
HTTP API
A list of functions available in this version of the electronic Api follows below. Note that the delimiter used in many cases below in returned data, "|", is the pipe character (ASCII 124).
All calls are normal HTTP requests. Please remember to URL-encode all parameters passed! Don't reinvent the wheel - rather use one of the countless libraries available. GET requests are allowed, but we strongly recommend using POST requests, especially if submitting a message to a large number of recipients (there can be limits on the size of GET requests).
Note: it is not intended that you ever submit an HTML form to this API, or that you link to it. You should be using an HTTP client library, e.g. Curl (PHP/command line), LWP(Perl), or HTTPClient(Java). This applies to all calls below which use authentication. In other words, do not put up a web page on the Internet with your username/password as hidden fields in a form.
Note on HTTP connections: please limit yourself to one concurrent connection, i.e., in your code, send with only one thread/process. If you feel that you have latency problems (if your computer is far away from our server in network terms), you could consider using HTTP KeepAlive.
The following url should be used to connect to the service:
URL: http://www.textover.com/httpapi/sendtext.asp
Required Variables
MobileNumber - This is the mobile number listed on your account entered in an international format. eg. 447978123456
Password - The password listed on your account.
Message - max 160 Characters.
SendTo - This is the mobile number you wish to send to. Please enter in an international format. eg. 447957123456
SenderId - This is the SenderID. This should be a cellphone or landline number in the international format. eg. 447957123456
Optional Variables
FlashMessage - Set it to '1' if you wish to send a FlashMessage. Otherwise, leave blank.
Returns
The system will return a string in the following format:
status_message|Description|debit_amount
If you need any help with the information presented here, please email support@textover.com
|