---
title: How do I add variables in my SMS Template?
description: "DLT allows the use of **variables** in templates, enclosed within {#var#}. Example: ``` Dear {#var#}, your OTP is {#var#}. Valid for {#var#} minutes. ``` Here: - {#var#} will dynamically change into customer-specific details like Name, OTP, or Time. ⚠️ Note:…"
url: "https://www.smsgatewaycenter.com/blog/kb/how-do-i-add-variables-in-my-sms-template/"
updated: "2025-08-25"
category: Bulk SMS / Message Templates
---

# How do I add variables in my SMS Template?

DLT allows the use of **variables** in templates, enclosed within {#var#}.

Example:

```
Dear {#var#}, your OTP is {#var#}. Valid for {#var#} minutes.
```

Here:

- {#var#} will dynamically change into customer-specific details like Name, OTP, or Time.

⚠️ Note: Excessive use of variables may cause rejection. Templates must follow DLT guidelines.

### More Related Articles

- [Do Message Templates expire?](https://www.smsgatewaycenter.com/blog/kb/do-message-templates-expire/)
- [Can I send regional language SMS using DLT Templates?](https://www.smsgatewaycenter.com/blog/kb/can-i-send-regional-language-sms-using-dlt-templates/)
- [Are there penalties for non-DLT compliant messages?](https://www.smsgatewaycenter.com/blog/kb/are-there-penalties-for-non-dlt-compliant-messages/)

Found this useful?[Add as Preferred Source on Google](https://www.google.com/preferences/source?q=smsgatewaycenter.com)
