SMS
How to send SMS through the proposed API once your DLT setup is linked.
Last reviewed 1 December 2026
Status
Draft
This documentation describes a proposed API that is not operational yet. Endpoints, fields and behaviour may change before release.
Setup
Your DLT principal entity ID, headers and templates are linked to your account during onboarding. Each template receives an Outreachvia template name you reference in requests.
Request fields
| Field | Description |
|---|---|
| channel | "sms" |
| to | Recipient in E.164 format, e.g. +91XXXXXXXXXX |
| sender | Your registered header |
| template | Outreachvia template name linked to a DLT template |
| variables | Values for each variable slot |
| reference | Optional: your own ID, returned in events |
Variables
Values must fit the registered template exactly. Text that changes the fixed parts of a template will be rejected by the network.
Response
{
"id": "msg_01HX8Z3EXAMPLE",
"channel": "sms",
"status": "submitted"
}"submitted" means we accepted the request. It isn't delivery.
Statuses
| Status | Meaning |
|---|---|
| submitted | Validated and stored |
| accepted | Accepted by the route |
| delivered | Delivery report received |
| failed | Rejected or undeliverable |
| unknown | No final report from the network |
Common errors
| Code | Cause |
|---|---|
| template_not_found | Template name isn't linked to your account |
| variables_mismatch | Missing or extra variables |
| sender_not_registered | Header isn't approved for this template |
| invalid_recipient | Number isn't valid E.164 |
