Overview

Secure, Scalable & Powerful BULK SMS APIs


Parameters

Parameter Details
username Username of your account
password Password of your account
sender 6 digit sender ID (Registered in DLT)
mobile Mobile number in international format (i.e. 91xxxxxxxxxx)
type If you have to send sms as text set the value as 1 and for unicode set the value as 2.
product If you have a transactional account use value as 1. If you have a promotional account use value as 2.
template Template ID as per your DLT Registration.
message The message content. This parameter should be no longer than 765 characters. The message also must be URL Encoded to support symbols like @.

Sample Response

  1. // Success response
  2. {
  3.       "code" : 201,
  4.       "status" : Success,
  5.       "message" : Message sent successfully,
  6.       "job_id" : 635342312,
  7. }
  8. // Error response
  9. {
  10.       "code" : 500,
  11.       "status" : Error,
  12.       "message" : Exception found,
  13. }

Parameters

Code Response Msg
201 Success
1 No recipients specified.
2 No sender name specified.
3 Sender ID is invalid.
4 Type not specified.
5 Product not specified.
6 No message content.
7 Your Sender ID is not verified.
8 Mobile number is invalid.
9 Product is invalid.
10 Type is invalid.
11 Message size exceeds.
12 Mobile numbers should not more than 200.
13 No username specified.
14 No password specified.
15 No job id specified.
16 User balance getting failed.
17 Date is mandatory.
51 Something went wrong while getting data.
151 No data found.
401 Unauthorized. (Username / Password is invalid)
500 Exception found.