USMSHelp Center

Templates

Template variables

A variable is the part of the text that changes from message to message. It is written in curly braces right inside the text:

Hello, {name}! Your code: {code}

Which variables you can use

Only six variables are allowed in templates. A template with any other variable will not be accepted for review.

  • {code} — a confirmation code, e.g. 482915;
  • {name} — the recipient’s name from your contacts, e.g. Aziz;
  • {order_id} — an order number, e.g. 10245;
  • {phone} — a phone number, e.g. 998901234567;
  • {date} — a date, e.g. 18.09.2026;
  • {company} — a company name.

How {name} is filled in

The name is taken automatically from Contacts — you don’t need to enter it. If a contact has no name, or the name is longer than 80 characters or contains a line break, that contact won’t get the message, while the campaign goes to everyone else as usual.

How the other variables are filled in

When you create a campaign, the account shows a field for each variable. You enter the value once and it is used for all recipients — up to 80 characters, no line breaks. The campaign can’t be launched until all fields are filled.

If a variable value is missing, the message is not sent and not charged.

Your own text instead of a template

You can type the text manually, but the system will still compare it with your approved templates: the fixed part must match the approved wording exactly, and a variable’s place can hold any value that follows its rules.

Updated: 27.09.2026