Faq
Overview
Secure, Scalable & Powerful BULK SMS APIs
Caution: Some users opt to place their request inside a code loop, while testing we highly recommend setting the test parameter to true, as occasionally an infinite loop can occur and users can consume all their credits very quickly.
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
- // Success response
- {
- "code" : 201,
- "status" : Success,
- "message" : Message sent successfully,
- "job_id" : 635342312,
- }
- // Error response
- {
- "code" : 500,
- "status" : Error,
- "message" : Exception found,
- }
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. |