What Is a DLT Template ID?
The Template ID identifies the approved pattern. The final SMS is generated by inserting allowed variables into that pattern. The API should not be used to rewrite the fixed portion of the approved message.
A DLT Template ID is the identifier assigned to an approved content template in India’s commercial messaging ecosystem. It links a send request to a registered message pattern so the fixed content and permitted variable positions can be validated during delivery.
Template ID vs Message Text
Example approved template:
Dear {#var#}, your payment of Rs. {#var#} is successful. Ref: {#var#}.Example API values:
{
"to": "919876543210",
"template_id": "1107161234567890123",
"variables": ["Amit", "2500", "TXN88991"]
}Generated message:
Dear Amit, your payment of Rs. 2500 is successful. Ref: TXN88991.Why Alert21 Uses Template ID as a Primary Input
It keeps the developer request small and lets Alert21 retrieve the approved sender, PE relationship and template metadata from the account configuration.
Common Template Problems
- Wrong Template ID for the account.
- Inactive/rejected template.
- Wrong variable count.
- Variables in the wrong order.
- Fixed content changed.
- Message category mismatch.
- Sender/header mismatch.
Turn your next business event into a traceable alert.
Start with DLT-ready SMS today on Alert21’s developer-first communication platform.
