DLT template ID: what it is, how to get one and how to register templates

Written and reviewed by the DiOTP team Published 30 November 2026Last updated 30 November 2026

9 min read

A DLT template is the approved wording of an SMS that your business is allowed to send in India, and the DLT template ID is the unique number the operator gives that wording once it is approved. Every commercial message is compared with a registered template before delivery, so without one your SMS does not go out. This guide explains what the ID is, how it is used when a message is sent, how to register a template step by step, and how to write OTP templates that pass review the first time.

What a content template and its Template ID are

Under TRAI's TCCCPR 2018 rules, a business cannot send any wording it likes. It registers the exact text of each message type on a DLT platform run by an operator such as Jio, Airtel, Vi or BSNL. This registered text is called a content template. The parts that change from message to message, such as a code, an amount or a name, are marked with a placeholder written as {#var#}. Everything else is fixed.

When the operator approves a template, it assigns it a long numeric reference: the Template ID. Think of it as the template's registration number. It is tied to your Entity ID, to the header (sender ID) the template will be sent from, and to the category you chose. One business usually has several template IDs: one for login codes, one for payment codes, one for order updates and so on.

  • Entity ID: identifies your business on DLT.
  • Header: the six-letter or six-digit sender name your customers see.
  • Template ID: identifies one approved message wording, linked to a header.

You need all three before a message can be delivered. If you have not registered your business yet, start with our DLT registration guide for SMS in India, then register a sender name using the steps in our DLT header registration guide.

How the Template ID is used at send time

When your SMS provider hands a message to the network, it passes the Entity ID, the header and the Template ID along with the text. The operator looks up the template by its ID and checks that the message matches it. Only the {#var#} positions may differ. A changed word, an extra space, a different link or a missing full stop is enough for the message to be blocked.

This is why developers ask what is DLT template ID in the first place: it is usually the field an SMS API requires alongside the message, and getting it wrong is the most common reason an OTP silently fails. The check is done by the network, so your provider cannot override it. Keeping your registered wording and your code in sync is the simplest way to avoid failed sends.

Treat the registered template as the source of truth. If you change the message in your code, register the new wording first and switch only after it is approved.

How to register DLT template content, step by step

The screens look different on each operator's portal, but the flow is much the same. Here is how to register template in DLT platform once your entity and header are already approved:

  1. Sign in to the DLT portal where your business is registered as a principal entity.
  2. Open the templates section (sometimes called content templates) and choose to add a new one.
  3. Select the template type: content template for regular messages, or consent template if you are collecting consent.
  4. Choose the category: transactional, service implicit, service explicit or promotional.
  5. Pick the header the template will be sent from. A template is always linked to a header.
  6. Give the template a short name that you will recognise later, such as ABC_LOGIN_OTP.
  7. Choose the content type: plain text or Unicode, for messages in Hindi or another Indian script.
  8. Type the message exactly as it will be sent, with {#var#} in place of each changing part.
  9. Submit for review. When it is approved, the portal shows the Template ID next to the template.

That Template ID is what you copy into your SMS provider's settings. How to get DLT template ID is therefore simple once the approval is through: it appears in your template list on the portal, and the same ID is shared with the other operators, so you register each template once.

DLT template approval time

There is no fixed turnaround. The DLT template approval time is decided by the operator reviewing your request and varies with the operator, the category and how complete the submission is. The portal shows the status of each template, such as pending, approved or rejected, so check there rather than relying on an estimate. A clear template that matches your header and business is the best way to avoid a second round of review.

Writing templates with {#var#}

Most problems with DLT template registration come from the wording itself. A good template keeps the fixed text short and specific, and uses a variable only where the content really changes. Reviewers want to see that the message serves one clear purpose for one named business.

  • Name your brand in the text, so the customer knows who sent it.
  • Use one {#var#} for each changing value. Do not hide whole sentences inside a variable.
  • Keep links and phone numbers fixed, and whitelist them on the portal. A variable cannot stand in for a URL.
  • Match punctuation and spacing in your code to the template, character for character.
  • Remember length: a plain GSM-7 SMS part holds 160 characters, and a Unicode part only 70, so Hindi messages split sooner.

Template categories

CategoryUsed forHeader
TransactionalBanks, for messages about a customer's own transactionSix letters
Service implicitMessages a customer expects from a service they use, including OTPsSix letters
Service explicitService messages that need a recorded consent from the customer firstSix letters
PromotionalOffers and marketing, sent in daytime only and not to DND numbers for that categorySix digits

Most businesses register OTP templates as service implicit. If you are a bank, transactional may apply. Our guide to SMS types in India explains the categories in more depth.

DLT template for OTP: examples you can adapt

An OTP SMS template should say what the code is for, who sent it, how long it lasts and that it must not be shared. Here are examples for a brand called ABC. Replace the brand and keep one {#var#} for the code.

  • {#var#} is your OTP to log in to ABC. It is valid for 5 minutes. Do not share it with anyone.
  • Use {#var#} to verify your mobile number on ABC. This code expires in 5 minutes. ABC will never ask for it.
  • {#var#} is your ABC OTP to confirm a payment of Rs {#var#}. Do not share this code with anyone, including ABC staff.
  • Your ABC password reset code is {#var#}. If you did not request this, ignore this message.
  • Dear customer, {#var#} is the OTP for your ABC order {#var#}. Share it with the delivery agent only at the time of delivery.

Register one template per purpose rather than one generic template for everything. Separate templates make reviews easier and let you track which flow a message came from. If your codes expire after a different time, change the wording before you submit, since the number in the template is fixed text.

Why templates get rejected

  • The brand name in the text does not match the header or the registered business.
  • The wrong category was chosen, such as promotional wording submitted as service implicit.
  • A variable is used for content that should be fixed, or for a link or phone number.
  • A link or number in the text is not whitelisted.
  • The message is vague and could be used for many purposes.
  • Promotional language, such as offers or discounts, appears in a service template.

A rejected template can be corrected and resubmitted. Read the reason given on the portal, fix that point only, and submit again.

Consent templates for service explicit messages

Service explicit messages need proof that the customer agreed to receive them. On DLT, that consent is collected through a consent template: a message the customer receives and confirms, which is then recorded against your entity. Only after consent is on record can you send service explicit messages to that number. OTPs for your own login and payment flows are normally service implicit and do not need this step, but reminders and follow-ups often fall under service explicit.

Sending OTPs before your templates are approved

Registration takes time, and launches rarely wait. On DiOTP you can send OTPs without DLT of your own on the same day, using our registered header and pre-approved OTP template. When your entity, header and template IDs are approved, add them under Senders in the dashboard and codes go out under your brand, with no code change.

If you would prefer help with the portal, our DLT registration service covers the entity, header and templates for a one-time fee quoted before we start. The operator's own DLT fee is paid by you directly.

DLT header registration DLT registration guide

Check a template with the DLT template checker

Questions people ask

It is the unique number an operator assigns to a content template when it is approved on a DLT platform. Your SMS provider sends it with each message so the network can check the text against the approved wording.

Start building your customer messaging with DiOTP

Free test credits on sign-up, API keys in a minute, and a team that picks up the phone.