APIReference

SMS API

Send transactional, OTP and promotional SMS through a single endpoint, with DLT template validation built in.

POST/v1/sms/send

01Parameters

NameTypeRequiredDescription
tostringRequiredRecipient number in E.164 format, e.g. +91XXXXXXXXXX.
entity_idstringRequiredYour registered DLT Principal Entity ID.
template_idstringRequiredYour approved DLT content template ID.
contentobjectRequiredKey-value map of the variables declared in the template.
callback_urlstringOptionalOverride 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.