{"id":17904,"date":"2026-11-18T23:41:27","date_gmt":"2026-11-18T18:11:27","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/"},"modified":"2026-11-19T00:47:19","modified_gmt":"2026-11-18T19:17:19","slug":"dlt-sms-variables-values","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/","title":{"rendered":"How to pass variables_values in the Fast2SMS DLT SMS API ({#var#})"},"content":{"rendered":"<p>In the Fast2SMS DLT SMS API, <code>variables_values<\/code> fills the <code>{#var#}<\/code> places in your approved DLT template. You send one value per variable, in the same order as in the template, separated by the pipe sign <code>|<\/code>. This page shows how to pass variables_values correctly, with examples for GET and POST, the 40-character limit, links in variables, and the mistakes that change or break your SMS text.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Send personalised DLT SMS by API<\/strong><p>Fill names, order numbers, amounts and dates into your approved DLT template with one API call.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Before you start<\/h2>\n<ul>\n<li>An approved content template in <strong>DLT Manager<\/strong>, linked to your sender ID.<\/li>\n<li>The template&#8217;s <strong>Message ID<\/strong> (on the template card).<\/li>\n<li>Your <a href=\"\/help\/api-key-find-reset\/\">API key<\/a> from <strong>API Key<\/strong>, with <strong>API Access<\/strong> on.<\/li>\n<\/ul>\n<h2>How variables_values works<\/h2>\n<p>Take this approved template on sender DEMOTR, Message ID 10001:<\/p>\n<p><em>Dear {#var#}, your order {#var#} of Rs.{#var#} is confirmed and will be delivered by {#var#}. &#8211; Demo Traders<\/em><\/p>\n<p>It has 4 variables. Send 4 values in order:<\/p>\n<pre><code class=\"language-text\">variables_values = Rahul|DT10458|1240|21 Nov<\/code><\/pre>\n<p>The customer gets:<\/p>\n<p><em>Dear Rahul, your order DT10458 of Rs.1240 is confirmed and will be delivered by 21 Nov. &#8211; Demo Traders<\/em><\/p>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Position<\/th>\n<th>Variable in template<\/th>\n<th>Value sent<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Dear {#var#}<\/td>\n<td>Rahul<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>your order {#var#}<\/td>\n<td>DT10458<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Rs.{#var#}<\/td>\n<td>1240<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>delivered by {#var#}<\/td>\n<td>21 Nov<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The order is the order in which the variables appear in the template text, left to right. It is the same as Variable 1, Variable 2 and so on in the panel&#8217;s DLT SMS form.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-sms-template-filled-hd-2-scaled.webp\" width=\"1440\" height=\"1250\" loading=\"lazy\" decoding=\"async\" alt=\"DLT SMS form with Template 10001 selected, Variable 1 to Variable 4 filled and a phone preview showing the final message\"><figcaption>Variable 1 to 4 in the panel follow the same order as variables_values in the API.<\/figcaption><\/figure>\n<h2>Rules for each value<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Rule<\/th>\n<th>What it means for you<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>One value per <code>{#var#}<\/code>, in order<\/td>\n<td>Count the variables on the template card (or <code>var_count<\/code> in the DLT Manager API) and send exactly that many values.<\/td>\n<\/tr>\n<tr>\n<td>Separated by <code>|<\/code><\/td>\n<td>Do not put a <code>|<\/code> inside a value. It would be read as the start of the next value.<\/td>\n<\/tr>\n<tr>\n<td>Each value is cut to 40 characters<\/td>\n<td>Anything after the 40th character is dropped. Keep names, addresses and links short.<\/td>\n<\/tr>\n<tr>\n<td>Empty values are allowed<\/td>\n<td><code>Rahul||1240|21 Nov<\/code> leaves the second variable empty. The SMS still has to match DLT, so avoid empty values where the operator expects text.<\/td>\n<\/tr>\n<tr>\n<td>Links must be allowed<\/td>\n<td>A value that starts with your Fast2SMS short-link domain must be one of your approved tracked links, or you get error 426.<\/td>\n<\/tr>\n<tr>\n<td>Only needed when the template has variables<\/td>\n<td>For a template with no <code>{#var#}<\/code>, leave <code>variables_values<\/code> out.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"f2s-note f2s-note--warn\">Your template may use typed variables such as {#numeric#}, {#url#} or {#alphanumeric#}. In DLT Manager they all show as {#VAR#}, and you fill them the same way. Send the kind of value the DLT approval expects, for example digits for a numeric variable, so the operator does not reject the SMS.<\/div>\n<h2>Send variables in code<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Check the template and count the variables<\/h3>\n<p>Open <strong>DLT Manager<\/strong> &gt; <strong>Content Template<\/strong>. The card preview marks each variable in red. Note the <strong>Message ID<\/strong> and the linked <strong>Sender ID<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-template-list-hd-7-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Content Template cards with variables highlighted in red in the phone preview and the Message ID below\"><figcaption>Each red {#VAR#} needs one value in variables_values.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Join your values with |<\/h3>\n<p>Build the string in your code from your own data, in template order. Most languages have a join function, as shown below.<\/p>\n<\/li>\n<li>\n<h3>Send it and check the text<\/h3>\n<p>Send to your own number first. Add <code>\"sms_details\": 1<\/code> to see the character count and SMS parts in the reply, then check the SMS on your phone.<\/p>\n<\/li>\n<\/ol>\n<h3>cURL (POST JSON)<\/h3>\n<pre><code class=\"language-bash\">curl -X POST \"https:\/\/www.fast2sms.com\/dev\/bulkV2\" \\\n  -H \"authorization: YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"route\":\"dlt\",\"sender_id\":\"DEMOTR\",\"message\":\"10001\",\"variables_values\":\"Rahul|DT10458|1240|21 Nov\",\"numbers\":\"9999999999\",\"sms_details\":1}'<\/code><\/pre>\n<h3>cURL (GET)<\/h3>\n<p>In a GET URL the space and the <code>|<\/code> must be URL-encoded. <code>--data-urlencode<\/code> does it for you. Written by hand, the value becomes <code>Rahul%7CDT10458%7C1240%7C21%20Nov<\/code>.<\/p>\n<pre><code class=\"language-bash\">curl -G \"https:\/\/www.fast2sms.com\/dev\/bulkV2\" \\\n  -H \"authorization: YOUR_API_KEY\" \\\n  --data-urlencode \"route=dlt\" \\\n  --data-urlencode \"sender_id=DEMOTR\" \\\n  --data-urlencode \"message=10001\" \\\n  --data-urlencode \"variables_values=Rahul|DT10458|1240|21 Nov\" \\\n  --data-urlencode \"numbers=9999999999\"<\/code><\/pre>\n<h3>PHP<\/h3>\n<pre><code class=\"language-php\">&lt;?php\n$order = ['name' =&gt; 'Rahul', 'id' =&gt; 'DT10458', 'amount' =&gt; 1240, 'date' =&gt; '21 Nov'];\n\n\/\/ Same order as the {#var#} places in the template. Remove | and cut to 40 characters.\n$clean = fn($v) =&gt; mb_substr(str_replace('|', ' ', (string) $v), 0, 40);\n$vars  = implode('|', array_map($clean, [$order['name'], $order['id'], $order['amount'], $order['date']]));\n\n$ch = curl_init('https:\/\/www.fast2sms.com\/dev\/bulkV2');\ncurl_setopt_array($ch, [\n    CURLOPT_POST           =&gt; true,\n    CURLOPT_RETURNTRANSFER =&gt; true,\n    CURLOPT_HTTPHEADER     =&gt; ['authorization: YOUR_API_KEY', 'Content-Type: application\/json'],\n    CURLOPT_POSTFIELDS     =&gt; json_encode([\n        'route' =&gt; 'dlt', 'sender_id' =&gt; 'DEMOTR', 'message' =&gt; '10001',\n        'variables_values' =&gt; $vars, 'numbers' =&gt; '9999999999',\n    ]),\n]);\necho curl_exec($ch);\ncurl_close($ch);<\/code><\/pre>\n<h3>Python<\/h3>\n<pre><code class=\"language-python\">import requests\n\ndef clean(v):\n    return str(v).replace(\"|\", \" \")[:40]\n\nvalues = [\"Rahul\", \"DT10458\", 1240, \"21 Nov\"]  # template order\nvariables_values = \"|\".join(clean(v) for v in values)\n\nr = requests.post(\n    \"https:\/\/www.fast2sms.com\/dev\/bulkV2\",\n    headers={\"authorization\": \"YOUR_API_KEY\"},\n    json={\"route\": \"dlt\", \"sender_id\": \"DEMOTR\", \"message\": \"10001\",\n          \"variables_values\": variables_values, \"numbers\": \"9999999999\"},\n    timeout=20,\n)\nprint(r.json())<\/code><\/pre>\n<h3>Node.js<\/h3>\n<pre><code class=\"language-javascript\">const clean = (v) =&gt; String(v).replaceAll(\"|\", \" \").slice(0, 40);\nconst values = [\"Rahul\", \"DT10458\", 1240, \"21 Nov\"]; \/\/ template order\n\nconst res = await fetch(\"https:\/\/www.fast2sms.com\/dev\/bulkV2\", {\n  method: \"POST\",\n  headers: { authorization: \"YOUR_API_KEY\", \"Content-Type\": \"application\/json\" },\n  body: JSON.stringify({\n    route: \"dlt\",\n    sender_id: \"DEMOTR\",\n    message: \"10001\",\n    variables_values: values.map(clean).join(\"|\"),\n    numbers: \"9999999999\",\n  }),\n});\nconsole.log(await res.json());<\/code><\/pre>\n<h3>Java<\/h3>\n<pre><code class=\"language-java\">String vars = String.join(\"|\", \"Rahul\", \"DT10458\", \"1240\", \"21 Nov\");\nString json = \"{\\\"route\\\":\\\"dlt\\\",\\\"sender_id\\\":\\\"DEMOTR\\\",\\\"message\\\":\\\"10001\\\",\"\n            + \"\\\"variables_values\\\":\\\"\" + vars + \"\\\",\\\"numbers\\\":\\\"9999999999\\\"}\";\n\/\/ Send json with HttpClient as a POST to https:\/\/www.fast2sms.com\/dev\/bulkV2\n\/\/ with the headers authorization: YOUR_API_KEY and Content-Type: application\/json.\n\/\/ Use a JSON library if your values can contain quotes.<\/code><\/pre>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Personalise every SMS<\/strong><p>Use one approved DLT template and fill each customer&#039;s details with variables_values.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Common problems and fixes<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Problem<\/th>\n<th>Cause<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Values appear in the wrong places<\/td>\n<td>Values sent in a different order than the template<\/td>\n<td>Follow the template text left to right.<\/td>\n<\/tr>\n<tr>\n<td>A name or link is cut off<\/td>\n<td>The value is longer than 40 characters<\/td>\n<td>Shorten it. For links, use a short URL that is allowed in your DLT template.<\/td>\n<\/tr>\n<tr>\n<td>Text after a value moves to the next variable<\/td>\n<td>The value contains <code>|<\/code><\/td>\n<td>Replace <code>|<\/code> in your data before joining.<\/td>\n<\/tr>\n<tr>\n<td>Error 426 &#8220;Invalid link used in variables&#8221;<\/td>\n<td>A value starts with a Fast2SMS short link that is not your approved tracked link<\/td>\n<td>Use your own approved tracked link, or a plain URL approved in DLT.<\/td>\n<\/tr>\n<tr>\n<td>Error 429 &#8220;Invalid characters&#8230;&#8221;<\/td>\n<td>Text is not valid UTF-8, often from a GET URL that was not encoded<\/td>\n<td>Send UTF-8 and URL-encode GET values. Nothing was sent or charged.<\/td>\n<\/tr>\n<tr>\n<td>SMS accepted by the API but failed at the operator<\/td>\n<td>The filled text breaks the DLT template, for example letters in a numeric variable<\/td>\n<td>Send values that fit the template. Failed DLT SMS are not refunded automatically.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>What is the maximum length of one variable?<\/h3>\n<p>Each value is cut to 40 characters by the API. Your DLT approval may set its own limit for the variable as well.<\/p>\n<h3>Can I use var1, var2 instead of variables_values?<\/h3>\n<p>On the DLT SMS route, use <code>variables_values<\/code> with the pipe sign. That is the format the API documents for DLT SMS.<\/p>\n<h3>Do I send variables_values for a template without variables?<\/h3>\n<p>No. Leave it out. Fast2SMS sends the approved text as it is.<\/p>\n<h3>Can I send Hindi text in a variable?<\/h3>\n<p>The SMS language comes from the approved template. If your template is in Hindi, send Hindi values in UTF-8. The SMS is then counted as Unicode, which allows fewer characters per part.<\/p>\n<h3>How do I send different values to different numbers?<\/h3>\n<p>One bulkV2 call sends the same values to every number in it. For different values per number in one call, use the <code>\/dev\/custom<\/code> endpoint with one item per message.<\/p>\n<h3>Does a long variable cost more?<\/h3>\n<p>It can. The final SMS length decides the number of parts. English text above 160 characters becomes 2 parts, and each part is charged.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Start sending DLT SMS<\/strong><p>Sign up, add your approved templates in DLT Manager and send personalised SMS from your app.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"\/help\/dlt-manager-entity-sender-template-guide\/\">DLT Manager: add your entity, sender ID and content templates<\/a><\/li>\n<li><a href=\"\/help\/how-to-send-dlt-sms-from-fast2sms-panel\/\">How to send DLT SMS from the Fast2SMS panel<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/how-to-send-dlt-sms-via-api\/\">How to send DLT SMS via API<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/dlt-template-migration\/\">DLT template migration: update old templates to tagged variables<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/bulk-sms-pricing\">Bulk SMS pricing<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In the Fast2SMS DLT SMS API, variables_values fills the {#var#} places in your approved DLT template. You send one value per variable, in the same order as in the template, separated by the pipe sign |. This page shows how to pass variables_values correctly, with examples for GET and POST, the 40-character limit, links in [&hellip;]<\/p>\n","protected":false},"featured_media":17902,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,30],"tags":[],"class_list":["post-17904","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-dlt"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>variables_values in the DLT SMS API ({#var#}) | Fast2SMS<\/title>\n<meta name=\"description\" content=\"How to pass variables_values in the Fast2SMS DLT SMS API: order, the | separator, 40-character limit, links in variables, GET encoding and code samples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"variables_values in the DLT SMS API ({#var#}) | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"How to pass variables_values in the Fast2SMS DLT SMS API: order, the | separator, 40-character limit, links in variables, GET encoding and code samples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/\" \/>\n<meta property=\"og:site_name\" content=\"Fast2SMS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Fast2SMS\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T18:11:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-18T19:17:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-sms-template-filled-hd-2-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"2222\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fast2sms\" \/>\n<meta name=\"twitter:site\" content=\"@fast2sms\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"How to pass variables_values in the Fast2SMS DLT SMS API ({#var#})\",\"datePublished\":\"2026-11-18T18:11:27+00:00\",\"dateModified\":\"2026-11-18T19:17:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/\"},\"wordCount\":1040,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/sms-dlt-sms-template-filled-hd-2-scaled.webp\",\"articleSection\":[\"API\",\"DLT\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/\",\"name\":\"variables_values in the DLT SMS API ({#var#}) | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/sms-dlt-sms-template-filled-hd-2-scaled.webp\",\"datePublished\":\"2026-11-18T18:11:27+00:00\",\"dateModified\":\"2026-11-18T19:17:19+00:00\",\"description\":\"How to pass variables_values in the Fast2SMS DLT SMS API: order, the | separator, 40-character limit, links in variables, GET encoding and code samples.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/sms-dlt-sms-template-filled-hd-2-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/sms-dlt-sms-template-filled-hd-2-scaled.webp\",\"width\":2560,\"height\":2222,\"caption\":\"DLT SMS form with Template 10001 selected, Variable 1 to Variable 4 filled and a phone preview showing the final message\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/dlt-sms-variables-values\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to pass variables_values in the Fast2SMS DLT SMS API ({#var#})\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\",\"name\":\"Fast2SMS\",\"description\":\"Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\",\"name\":\"Fast2SMS\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"caption\":\"Fast2SMS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\"},\"email\":\"support@fast2sms.com\",\"telephone\":\"+91-6262778822\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Fast2SMS\",\"https:\\\/\\\/www.instagram.com\\\/fast2sms\",\"https:\\\/\\\/x.com\\\/fast2sms\",\"https:\\\/\\\/www.youtube.com\\\/Fast2SMSofficial\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/fast2sms\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"variables_values in the DLT SMS API ({#var#}) | Fast2SMS","description":"How to pass variables_values in the Fast2SMS DLT SMS API: order, the | separator, 40-character limit, links in variables, GET encoding and code samples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/","og_locale":"en_US","og_type":"article","og_title":"variables_values in the DLT SMS API ({#var#}) | Fast2SMS","og_description":"How to pass variables_values in the Fast2SMS DLT SMS API: order, the | separator, 40-character limit, links in variables, GET encoding and code samples.","og_url":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-18T18:11:27+00:00","article_modified_time":"2026-11-18T19:17:19+00:00","og_image":[{"width":2560,"height":2222,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-sms-template-filled-hd-2-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_creator":"@fast2sms","twitter_site":"@fast2sms","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"How to pass variables_values in the Fast2SMS DLT SMS API ({#var#})","datePublished":"2026-11-18T18:11:27+00:00","dateModified":"2026-11-18T19:17:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/"},"wordCount":1040,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-sms-template-filled-hd-2-scaled.webp","articleSection":["API","DLT"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/","url":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/","name":"variables_values in the DLT SMS API ({#var#}) | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-sms-template-filled-hd-2-scaled.webp","datePublished":"2026-11-18T18:11:27+00:00","dateModified":"2026-11-18T19:17:19+00:00","description":"How to pass variables_values in the Fast2SMS DLT SMS API: order, the | separator, 40-character limit, links in variables, GET encoding and code samples.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-sms-template-filled-hd-2-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/sms-dlt-sms-template-filled-hd-2-scaled.webp","width":2560,"height":2222,"caption":"DLT SMS form with Template 10001 selected, Variable 1 to Variable 4 filled and a phone preview showing the final message"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/dlt-sms-variables-values\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/www.fast2sms.com\/help\/api\/"},{"@type":"ListItem","position":3,"name":"How to pass variables_values in the Fast2SMS DLT SMS API ({#var#})"}]},{"@type":"WebSite","@id":"https:\/\/www.fast2sms.com\/help\/#website","url":"https:\/\/www.fast2sms.com\/help\/","name":"Fast2SMS","description":"Help","publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.fast2sms.com\/#organization","name":"Fast2SMS","url":"https:\/\/www.fast2sms.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.fast2sms.com\/#logo","url":"https:\/\/www.fast2sms.com\/Fast2SMS.png","contentUrl":"https:\/\/www.fast2sms.com\/Fast2SMS.png","caption":"Fast2SMS"},"image":{"@id":"https:\/\/www.fast2sms.com\/#logo"},"email":"support@fast2sms.com","telephone":"+91-6262778822","sameAs":["https:\/\/www.facebook.com\/Fast2SMS","https:\/\/www.instagram.com\/fast2sms","https:\/\/x.com\/fast2sms","https:\/\/www.youtube.com\/Fast2SMSofficial","https:\/\/www.linkedin.com\/company\/fast2sms"]}]}},"_links":{"self":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/17904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/comments?post=17904"}],"version-history":[{"count":1,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/17904\/revisions"}],"predecessor-version":[{"id":19293,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/17904\/revisions\/19293"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/17902"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=17904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=17904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=17904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}