APIReference
SMS API
Send transactional, OTP and promotional SMS through a single endpoint, with DLT template validation built in.
POST/v1/sms/send
01Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| to | string | Required | Recipient number in E.164 format, e.g. +91XXXXXXXXXX. |
| entity_id | string | Required | Your registered DLT Principal Entity ID. |
| template_id | string | Required | Your approved DLT content template ID. |
| content | object | Required | Key-value map of the variables declared in the template. |
| callback_url | string | Optional | Override the account-level webhook URL for this message only. |
02Request
curl https://api.msgbridge.in/v1/sms/send \ -H "Authorization: Bearer $API_KEY" \ -d to="+91XXXXXXXXXX" \ -d entity_id="$ENTITY_ID" \ -d template_id="order_shipped" \ -d content='{"order_id":"4821"}'03Response
{ "message_id": "msg_9F2k", "status": "queued", "channel": "sms"}Need a hand integrating this?
Our integration team reviews your first call for free.