Blog/Engineering
Engineering

Saudi SMS Templates From 1 January 2027: OTP Rules, What Is Confirmed, and How to Integrate With Unifonic and Msegat

i
iFynx News DeskEditorial lead: , Managing DirectorDec 2, 2026 · 10 min read
iFynx poster: every Saudi SMS, OTP included, needs a registered template, regulatory deadline 1 January 2027

Versus · Saudi SMS rules Checked 22:15 Asia/Gaza, 2 December 2026, against provider documentation, Msegat’s customer notice and CST pages.

Status: confirmed by Msegat and Infobip. CST’s own circular is not published online yet.

Short answer: Yes, the rumour is real. Saudi Arabia’s Communications, Space and Technology Commission (CST) “requires every message sent over local SMS in Saudi Arabia to match a registered template”, according to Infobip’s Saudi template guideline (published 2 November 2026). It covers OTP, transactional and promotional SMS from alphanumeric sender names. Registering templates you already use is free until 1 January 2027; from that date new template requests carry a fee, and Msegat tells its customers that from 1 January 2027 no SMS will pass unless its content matches a registered, approved template. Infobip dates operator filtering more loosely as “early 2027”, so plan for 1 January.

If your app logs users in with an SMS code, sends delivery updates or runs SMS campaigns in Saudi Arabia, every one of those messages now needs a registered twin. The iFynx team builds Saudi apps that send OTP through local gateways, so we read what the providers actually published, checked what Unifonic and Msegat say, and turned it into a before-and-after comparison and an integration plan for developers.

iFynx poster: every Saudi SMS, OTP included, needs a registered template, regulatory deadline 1 January 2027
iFynx: the free registration window closes on 1 January 2027.

What changes on 1 January 2027? Before vs after

Now to 1 Jan 2027 From 1 Jan 2027 Blocking starts
Registering templates you already use Free Fees apply to new requests Fees apply
SMS that match no template Delivered as usual Msegat: will not pass Blocked by mobile operators
Templates approved before 1 Jan Free Valid until they expire (1 year) Valid until they expire
Exact date Transition began 8 Oct 2026 1 January 2027 Msegat: 1 Jan 2027; Infobip: early 2027

Sources: Infobip KSA guideline (2 November 2026), which calls 1 January 2027 the “regulatory deadline” and dates filtering “early 2027”, and Msegat’s customer notice (2 December 2026), which says unmatched SMS will not pass from 1 January 2027.

Is the Saudi SMS template rule official? What we could and could not confirm

CONFIRMEDTemplate matching is a CST requirement for all SMS providers in Saudi Arabia, covering promotional and transactional traffic. Stated by Infobip, a provider that registers local Saudi senders.
CONFIRMEDTimeline: free registration of existing templates from 8 October 2026 to 1 January 2027, fees on new requests from 1 January 2027, filtering in early 2027.
CONFIRMEDCST already enforces its SMS rules with fines: on 27 May 2025 it fined an SMS company SAR 30,000 for breaking the SMS service regulations (CST notice). The regulations themselves were approved by decision 515/1445 on 8 February 2024 (CST).
NOT FOUNDCST’s own circular or announcement about templates. We found no public CST page with the template rule or the 1 January date when we checked.
CONFIRMEDMsegat’s notice to customers: from 1 January 2027 no SMS passes unless its content matches a registered, approved template; templates are reviewed on a dedicated platform linked to the telecom operators and supervised by CST; unmatched messages may be rejected and affect your services.
NOT FOUNDThe template fee amount from 1 January 2027.
NOT FOUNDA public template notice or help page from Unifonic. Its public documents still cover sender names only (details below).

What does a valid Saudi SMS template look like? The 11 rules

These are the drafting rules in the Infobip guideline. Your own provider may phrase them differently, so treat this as the baseline and confirm with your account manager.

1
Fixed text exactly as sent
Write the template word for word; only placeholders may change.
2
Placeholders as #Var1#, #Var2#
Each variable’s type and format is set when the template is created.
3
Maximum 2 variables
A payment SMS with amount, date and reference in three variables is rejected.
4
30 characters per variable
Values longer than 30 characters do not fit the template.
5
At least 60% fixed text
Variables may be at most 40% of the template.
6
Never start or end with a variable
“Your OTP is #Var1#” ends with a variable, so it fails.
7
No two variables side by side
#Var1##Var2# is not allowed.
8
https links, no shorteners
bit.ly-style links are refused.
9
Ads and donations need -AD
Promotional content must use a sender name ending in -AD.
10
No sensitive data requests
No passwords or card numbers, in fixed text or in variables.
11
Arabic and English are separate
Each language version is its own template, linked to one sender name, valid 1 year.

How should an OTP SMS be written in Saudi Arabia now?

Two extra rules apply to OTP. Unifonic’s SMS terms (clause 5.2) say the message must explain why the code is being sent and must not carry the code alone, and Taqnyat’s compliance guide says the same. Taqnyat also notes that government bodies and banks approve content through a maker-checker flow, where automated service messages such as OTP have their template approved once. Put those rules next to the template rules and a bare “Your code is 4821” no longer works.

Will be blocked
Your OTP is #Var1#
Ends with a variable and gives no reason.
Will be blocked
#Var1# is your code for #Var2#
Starts with a variable; variables are over 40% of a short text.
Follows the rules (our draft)
Use #Var1# to sign in to MyBrand. It expires in 5 minutes. Never share this code.
One variable in the middle, reason stated, mostly fixed text.
Follows the rules (our draft)
رمز الدخول إلى MyBrand هو #Var1# وصلاحيته 5 دقائق. لا تشارك الرمز مع أي شخص.
The Arabic version is registered as a separate template.

The two blocked examples are adapted from the non-compliant examples in the Infobip guideline. The two good ones are iFynx drafts that follow the published rules; your provider has the final say.

Unifonic vs Msegat: what each one says today

Unifonic

  • Sender name registration: SAR 299 a year including tax, valid 1 year and renewable for up to 5 years (Unifonic docs).
  • Transactional sender names up to 11 characters; advertising names up to 8 characters ending in -AD. No numeric-only or Arabic-letter names.
  • Links in messages must be pre-registered and brand-related; public shorteners such as Bitly are not allowed.
  • OTP must explain why it was sent (terms clause 5.2), and the customer reimburses Unifonic for any CST fine it causes (clause 5.14) (Unifonic SMS terms).
  • “Templates” in Unifonic’s terms (clause 4.5) is a platform feature for bulk sending, not the CST registration. We found no public Unifonic page on CST template registration yet (SMS compliance page).

Msegat

  • Templates: log in to your Msegat account, go to Templates, then Add template, fill in the details and submit. Each template is tied to one sender name, so register templates for each sender name separately. Requests are reviewed first come, first served; a rejected template must be edited and resubmitted, which delays approval, so Msegat advises not to wait (Msegat notice, 2 December 2026).
  • Sender names are registered on “Jaber”, which Msegat calls the official platform in Saudi Arabia for registering sender names under CST rules (Msegat FAQ).
  • Licence fee SAR 230 a year; activation takes 3 to 7 working days; up to 5 sender names per commercial registration.
  • Two sender types: “whitelist” names for notifications and verification codes, and advertising names ending in -AD.
  • A sender name already verified on Jaber with another operator can skip the payment step at Msegat.
  • Msegat’s terms (last updated 9/11/2026) bind customers to CST’s SMS regulations and let Msegat suspend a sender name that misses requirements (Msegat terms).

Fees, character limits and activation times above are what each provider publishes; they differ because each provider sets its own process. For templates, Msegat already has a self-service screen (Templates, then Add template). Unifonic has not published its steps yet, so Unifonic customers should ask their account manager this week how templates are collected and whether they are submitted free before 1 January 2027.

How do you integrate SMS templates into your app? 7 steps for developers

  1. 1
    Inventory every SMS your systems send
    Search the code for every call to your SMS provider: login OTP, password reset, order and delivery updates, payment receipts, reminders, campaigns. Include seasonal and rare ones (Ramadan, Eid, annual renewals); the guideline asks for them too.
  2. 2
    Split them by sender name and language
    Each template links to one sender name. Marketing goes under the -AD name. Arabic and English versions are two templates.
  3. 3
    Rewrite them to pass the 11 rules
    Move brand names, links and units into fixed text. Keep at most 2 variables, never at the start or end. Add the reason to every OTP.
  4. 4
    Send the list to your provider before 1 January 2027
    Your sender name must be approved first; templates cannot be submitted in the same request. Before 1 January registration of existing templates is free.
  5. 5
    Make a template registry the only way to send
    Store each approved text with its provider template ID and variable rules in code or a database table, and remove every free-text send call. The snippet below shows the idea.
  6. 6
    Validate before you send and watch delivery reports
    Reject values that break the format or exceed 30 characters before calling the API. When filtering starts, a jump in failed delivery reports is your first sign of an unmatched template.
  7. 7
    Put renewals in the calendar
    Sender names and templates are valid for 1 year and are suspended if not renewed. A new feature that sends a new SMS needs a new template before release.

A minimal template registry in JavaScript (the same pattern works in PHP, Python or Kotlin). The provider template IDs are placeholders: use whatever reference your provider returns.

// templates.js: the only place SMS text may come from
const TEMPLATES = {
  otp_login_en: { sender: "MyBrand", lang: "en", providerId: "TPL-001",
    text: "Use #Var1# to sign in to MyBrand. It expires in 5 minutes. Never share this code.",
    vars: { Var1: /^[0-9]{4,8}$/ } },
  otp_login_ar: { sender: "MyBrand", lang: "ar", providerId: "TPL-002",
    text: "رمز الدخول إلى MyBrand هو #Var1# وصلاحيته 5 دقائق. لا تشارك الرمز مع أي شخص.",
    vars: { Var1: /^[0-9]{4,8}$/ } },
};

function renderSms(key, values) {
  const t = TEMPLATES[key];
  if (!t) throw new Error("Unregistered template: " + key);
  let out = t.text;
  for (const [name, rule] of Object.entries(t.vars)) {
    const v = String(values[name] ?? "");
    if (v.length > 30 || !rule.test(v)) throw new Error(key + ": bad " + name);
    out = out.replace("#" + name + "#", v);
  }
  return { sender: t.sender, text: out, templateId: t.providerId };
}

Before 1 January 2027: the 6-point checklist

  • Sender names approved and in the right type (service vs -AD).
  • Full list of SMS texts, Arabic and English, including seasonal ones.
  • Every OTP states its purpose and never ends with the code.
  • No URL shorteners; full https links to your own domain.
  • Templates sent to your provider while registration is free.
  • App sends only from the template registry, with alerts on failed deliveries.

How iFynx can help

iFynx builds Saudi apps and backends that send OTP and notifications through local gateways. We can audit every SMS your product sends, rewrite it into compliant Arabic and English templates, build the template registry and delivery monitoring into your code, and add a fallback channel so users are not locked out when an SMS is blocked.

App development in Saudi Arabia · Talk to iFynx

💰 Estimate your project cost with iFynx in one minute

Frequently asked questions

Does Saudi Arabia require SMS templates from 1 January 2027?

According to Infobip’s Saudi guideline (2 November 2026), CST requires every local SMS to match a registered template. Msegat tells customers that from 1 January 2027 no SMS will pass unless it matches a registered, approved template; Infobip says free registration of existing templates ends that day and dates filtering “early 2027”.

Do OTP messages need a template too?

Yes. The rule covers transactional traffic, and OTP is transactional. Register one template per language, with the code as a variable in the middle and the reason in the text.

What happens to an SMS that does not match a template?

Today it is delivered as usual. Msegat says that from 1 January 2027 it will not pass; Infobip says mobile operators, not the SMS provider, do the blocking.

How much does template registration cost?

Registering templates already in use is free until 1 January 2027. Fees apply to new requests after that; the amount has not been published.

Do I register templates with CST directly?

Not in the process Infobip describes: you send your template list to your SMS provider (account manager), after your sender name is approved. At Msegat it is in your account under Templates, then Add template. Ask Unifonic or your provider for their own steps.

Can iFynx update our app for the new SMS rules?

Yes. iFynx can audit your SMS flows, prepare compliant Arabic and English templates and build the template registry into your backend.

Related reading

Sources: Infobip KSA template guideline · Infobip KSA LOA · CST SMS regulations · CST penalty notice · Unifonic KSA sender ID · Unifonic SMS terms · Msegat FAQ · Msegat terms · Msegat customer notice (2 Dec 2026) · Taqnyat compliance guide

🛡️ iFynx security bulletin · every SundayThe week’s vulnerabilities that matter to Gulf and Egypt companies, in one email

Every Sunday: the most serious confirmed CVEs and breaches, who is exposed in Saudi Arabia, the UAE and Egypt, and what to patch first. Free, in English and Arabic, one-click unsubscribe.

Read past issues →

How this article was made: researched and drafted with AI assistance, with facts checked against the primary sources. Editorial lead: Ahmed Alsafadi. Read our editorial policy.