{"id":1996,"date":"2025-08-25T19:47:34","date_gmt":"2025-08-25T14:17:34","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=1996"},"modified":"2025-08-25T19:47:36","modified_gmt":"2025-08-25T14:17:36","password":"","slug":"how-do-i-add-variables-in-my-sms-template","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/how-do-i-add-variables-in-my-sms-template\/","title":{"rendered":"How do I add variables in my SMS Template?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">DLT allows the use of <strong>variables<\/strong> in templates, enclosed within {#var#}.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Dear {#var#}, your OTP is {#var#}. Valid for {#var#} minutes.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>{#var#} will dynamically change into customer-specific details like Name, OTP, or Time.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u26a0\ufe0f Note: Excessive use of variables may cause rejection. Templates must follow DLT guidelines.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DLT allows the use of variables in templates, enclosed within {#var#}. Example: Here: \u26a0\ufe0f Note: Excessive use of variables may cause rejection. Templates must follow DLT guidelines.<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[1614],"doc_tag":[],"class_list":["post-1996","docs","type-docs","status-publish","hentry","doc_category-message-templates"],"year_month":"2026-07","word_count":48,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.smsgatewaycenter.com\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"Message Templates","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/message-templates\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/1996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/comments?post=1996"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/1996\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=1996"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=1996"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=1996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}