HTTP API is the most simplest and the scalable method of programming your SMS integration to your website or application. HTTP API can be used for Broadcast (Send SMS Messages) or Check Balance of your account
(“text” must be url encoded for reliable delivery. Use “+” mark or “%20” for spaces)
id = <Your Phone Number in international format>
pw = <4 Digit Password>
to = <Recipients Phone Number in international format>
text = <Text Message>
Advanced Integration variables
eco=Y /- Messages will be sent through economy route for very low per SMS cost. Messages will be qued for delivery in fifo basis
reply=Y /- When recipient replies to the SMS, reply will be forwarded to your registered mobile number
reply=[PHONE NUMBER] When recipient replies to the SMS, reply will be forwarded to the [PHONE NUMBER] phone number
url=<Address of Webpage> – (eg. url=www.textit.biz/example.php) When recipient replies to the SMS, reply will be posted to the web address you specify with GET variables “phone” and “text”
ref=xxx – this is a pass through variable. the value only shows in your reports and account overview page.
If the routine failed, the first 5 characters of the body will be the word ‘Error’ followed by an error code and/or description.
For example: Error:to_invalid
If the routine was executed successfully, first 2 characters of the body will be the word ‘OK’ followed by an uniqueMessage Identifier code.
For example: OK:1234567890-1234
id=<Your Phone Number in international format>
pw=<4 Digit Password>
Assuming that the Balance Check routine was executed successfully, the body of the API’s response (i.e. the result) will
contains the credit available on your account. The value is numeric and may contain decimal points.
If the routine failed, the response (i.e the result) will contain the error code.