Use the SMS API

Use the SMS API to send out messages. Authenticate yourself using your project's APP-ID and APP-KEY to access API.

Sample Request

POST `https://api.enablex.io/sms/v1/messages`
Authorization: Basic XXXXXXX
Content-Type: application/json
{
"from": "+44xxxxxxxx",
"body": "{$name} you are due to pay Rs. {$amount}",
"recipient": [
{
"to": "+91xxxxxx",
"name": "Kamal","amount": "30"
}
],
"type": "sms",
"reference": "XOXO",
"validity": "30",
"type_details": "",
"data_coding": "plain",
"flash_message": false,
"scheduled_dt": "2019-12-17T14:26:57+00:00",
"created_dt": "2019-12-15T14:26:57+00:00",
"campaign_id": "XX",
"template_id": "37081401"
}

Know more in SMS API