Send SMS (POST API)
HTTP Post API to send SMS.
Send SMS
POST
<base_url>/bulk-sms
This endpoint allows you to send SMS.
Headers
Authorization
string
Your API key in request header.
Request Body
is_confidential
boolean
0 - Send as Normal SMS 1 - Send as Confidential SMS Read more on Confidential SMS section (https://apidocs.saino.io/sms-api/send-sms-post-api).
dltTemplateId
number
Only for India, If you want to pass directly template id via API you can do that with this parameter., update Entity under Saino app profile section. For more info open below link - https://help.saino.io/registration-on-dlt-india#how-to-add-template-on-saino-platform
reportUrl
string
The URL at which the SMS reports will be sent for this campaign. Read Reports & Deliveries section below for more information.
senderid
string
The registered and approved Sender name.
route
string
Type of connectivity ex Global, Promotional, Transactional, etc.
number
string
Number with country prefix. (multiple numbers can be separated by comma.)
message
string
SMS text body. The actual message.
unicode
number
Message can be send in any language ( Values 1 or 0 )
time
string
Schedule time (in format i.e, yyyy-mm-dd hh:mm:ss) at which the SMS has to be sent
flash
number
Send flash SMS via API ( Values 1 or 0 )
Reports & Deliveries
In order to get delivery reports directly into your system you need to take care of few simple things.
Please make sure that, the URL passed in the field
reportUrl
, must acceptHTTP POST
request withJSON
request body.If you wish to get any additional data in the report callback, you should user query parameters and values in the URL itself.
If you don't pass the reportUrl
parameter in request body, we will not be able to push the reports to your system. However, messages will still be delivered to the destination.
Sample Request
Last updated