Contact Us        My Account  


HTTP Interface - Send SMS Message

Download in PDF format

You can send SMS messages using the HTTP/S interface. Parameters are specified in the URL or as POST parameters:

http://www.intellisoftware.co.uk/smsgateway/sendmsg.aspx?username=MyUsername &password=MyPassword&to=44771012345,44771054321&text=TheMessage

For secure SSL connection use https:

Parameters:

username= This is the username of your account
password= This is the password for your account
to= This is the destination phone number. A maximum of 100 numbers can be specified, separated by commas.
text= The content of the text message
from= (Optional) This is the source/sender's phone number
maxconcat= Optional) Maximum number of concatenated SMS messages that will be sent per recipient (Default is 1)
type= (Optional) 1=Text, 6=Voice-SMS (Default is Text)


Responses:

ID:10011000000000000001 Message has been sent to the gateway. The unique message ID follows 'ID:'
ERR:LOGIN_INVALID Username or Password is invalid
ERR:INSUFFICIENT_CREDIT Insufficient credit balance to fulfil request
ERR:NO_XXXXXXXXXXX A mandatory parameter is missing
ERR:INVALID_NUMBER Unable to route to the destination phone number
ERR:INVALID_REQUEST The request was not valid
ERR:GATEWAY_ERROR Unable to process request at this time
ERR:INTERNAL_ERROR Unable to process request at this time


Response Formats:

Single line response is returned when sending to a single recipient or when the whole submission fails:

Multiline response is returned when sending to multiple recipients:

A line is returned per recipient. Each line contains the recipient's number (international format), followed by comma, followed by the response. The ID applies to the whole submission and is identical for each recipient.

NOTE: The phone numbers listed in the response may not be identical to the numbers submitted. This is due to processing done to the numbers, e.g. international dialling codes added, duplicate numbers removed.


<< Back to HTTP Interface


  Registered in England Number 3549137.  Registered in the UK for VAT Number 712 1836 61