Send SMS

Note : If you submit large number of request, always use XML API for better performance

Sample API

Parameter name Data type Description
authkey * alphanumeric Login authentication key (this key is unique for every user)
mobiles * integer Keep numbers in international format (with country code), multiple numbers should be separated by comma (,)
message * varchar Message content to send
sender * varchar Receiver will see this as sender's ID.
route * varchar If your operator supports multiple routes then give one route name. Eg: route=1 for promotional, route=4 for transactional SMS.
country numeric 0 for international,1 for USA, 91 for India.
flash integer (0/1) flash=1 (for flash SMS)
unicode integer (0/1) unicode=1 (for unicode SMS)
schtime date and time When you want to schedule the SMS to be sent. Time format could be of your choice you can use Y-m-d h:i:s (2020-01-01 10:10:00) Or Y/m/d h:i:s (2020/01/01 10:10:00) Or you can send unix timestamp (1577873400)
afterminutes integer Time in minutes after which you want to send sms.
response varchar By default you will get response in string format but you want to receive in other format (json,xml) then set this parameter. for example: &response=json or &response=xml
campaign varchar Campaign name you wish to create.

Parameters with (*) are mandatory.

Sample Output

Note : Output will be request Id which is alphanumeric and contains 24 character like mentioned above. With this request id, delivery report can be viewed. If request not sent successfully, you will get the appropriate error message. View error codes
Need help in generating API?

Fill the details below to generate the desired API

Authentication Key *:
Mobiles *:
Message *:
Sender ID *:
Route *: (1 -Promotional 4 - Transactional)
Country code :
Schedule Time:

Encode your API

What is URL encoding?

URL encoding converts characters into a format that can be send through internet We should use URL encode for all GET parameters because POST parameters are automatically encoded.

Why URL encoding?

URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format. URLs use some characters for special use in defining their syntax, when these characters are not used in their special role inside a URL, they need to be encoded. URL encoding is done to encode user input


Get & new&mobile&sender=ABCDEF&route=4

In this api the message content "test & new" includes '&' operator,due to which URL encoding is necessary, otherwise it will break your message content and an incomplete message will be sent

Click here to encode

Encoded API


By encoding message content in api,complete message will be sent

Send message on multiple numbers


To send message on multiple numbers numbers should be comma separated

Send unicode message


To send unicode message one more parameter will be added i.e unicode and it's value will be set to 1

Send flash message


To send flash message one more parameter will be added i.e flash and it's value will be set to 1

JSON response


To get response in json format one more parameter will be added i.e response and it's value will be set to json

Send schedule message

Get,919999999999&message=test+%26+new&sender=ABCDEF&route=4&schtime=2017-11-25 14:44:33

To schedule message i.e for future , one parameter will be added i.e schtime and it's value should be equal to that date and time,at which message should be sent. Note: for scheduling, date and time are mandatory.

Schedule unicode message

Get,919999999999&message=test+%26+new&sender=ABCDEF&route=4&schtime=2017-11-25 14:44:33&unicode=1

Send message on group


While sending message on group that contains numbers saved by user, parameter to be set is group_id and it's value should be equal to the existing group id
To view all groups and it's id's Get group id