Templates (DLT)

Every commercial SMS in India must match a template approved on DLT for your sender ID. Only the variable parts may change.

List your approved templates

curl https://whitelabled.securesmsc.com/api/v2/templates \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

The response lists your approved templates, with their DLT template IDs, inside data.templates, plus a count.

GET is off for new keys. This is a GET call: tick "Allow GET Method" for the key under API & Integrations → API Management first, or it returns HTTP 403 "GET method is not allowed for this API key".

How matching works

When you call /sms/send, the platform matches your text to your approved templates. If none matches, you get HTTP 422 with error_code TEMPLATE_MISMATCH. If you send both dlt_entity_id and dlt_template_id, the platform skips its own matching; the operators still check the text against DLT. Check wording before you send with our DLT template checker and variable tag guide.

Get a free API key + 100 test SMS

Create your account and generate an API key right away. Verified businesses also get 100 free test SMS once KYC and DLT mapping are done. No setup fee, no minimum top-up, and credits never expire.

Get 100 free SMS
Claim 100 free SMS