Skip to content

SMS Message Template

In addition to WhatsApp and RCS templates, DEP supports creating SMS Message Template.

Form for creating an SMS template at /templates/new/sms
Form for creating an SMS template at /templates/new/sms

SMS templates make it easy to standardize message formats, help operational teams send routine notifications or OTP, and validate GSM-7 character set usage before the message is broadcast to mobile operators.

On the main page Message Template (/templates), you can filter the template list by channel:

  • WhatsApp: Official Meta message templates (text, media, action buttons, and Flow).
  • RCS: Rich cards and interactive RCS formats.
  • SMS: GSM-7 text templates with variable placeholders.

To create a new SMS template, click the Create Template then select SMS, or open the link directly /templates/new/sms.

When filling out the SMS template creation form in /templates/new/sms, you will complete the following fields:

The columnRequiredExplanation & Format
Template NameYesTemplate identifier name. Use lowercase letters, numbers, underscores, or hyphens (for example, otp_login_id or tagihan_bulanan).
Traffic ClassYesSMS traffic category according to operator regulations: OTP, Notification, Transactional, or Promotional.
Channel / SenderYesThe sender SMS channel registered in your account.
Default Entry PointNoThe sender’s default Sender ID or Alpha/Numeric Masking (e.g., company brand name).
Message BodyYesThe template text content uses the standard GSM-7 character set.
StatusYesInitial template status (DRAFT or ACTIVE).

The template creation form is equipped with a character validator and automatic segment counter:

  • 1 SMS Segment: Maximum 160 characters if all characters fall within the GSM-7 7-bit standard.
  • Multi-Segment Messages (Concatenated SMS): If the message length exceeds 160 characters, the message will be split into multiple segments with a capacity of 153 characters per segment (7 characters are used for the User Data Header / UDH for segment concatenation).
  • Non-GSM / Unicode Characters: Using special non-GSM characters (such as emoji or foreign symbols) will reduce the single-segment limit to 70 characters (16-bit UCS-2 encoding). The form will display a warning if non-GSM characters are detected.

You can insert dynamic placeholders into the template text using the double curly brace format:

  • Numeric format: Halo {{1}}, tagihan Anda sebesar Rp {{2}} telah terbit.
  • Message format: Kode OTP Anda adalah {{otp}}. Berlaku hingga {{expiry}}.

When sending a message using this template via the API or the Quick Send menu, you simply supply the replacement values for each of these variables.

  1. Open the Form: Access /templates/new/sms from the Message Template menu.
  2. Fill in Name & Category: Define the template name and select the appropriate traffic class (Notification or OTP).
  3. Select a Sender: Specify the approved SMS channel and Entry Point.
  4. Write the Message: Type the message body and pay attention to the segment indicator below the text box. Make sure there are no unintended Unicode character warnings.
  5. Save the Template: Click Create Template. The template is immediately active and ready to be used for sending.