🇺🇸EN
Sign in Get Started
Country Guides

Pakistan SMS API Guide: PTA Masking Regulations, 7-Digit Shortcodes, and Jazz/Telenor Interconnects

In Pakistan the sender identity is called a mask, and it must be registered with PTA in the applicant's own business name — never shared, leased or sub-let. Two of the four operators will not display an alphanumeric mask at all.

JH
Jacky Hossein
• Principal Telecommunications Architect • Published Oct 15, 2026 • 13 min read

At 14:05 PKT on a Wednesday, a Lahore fintech's onboarding funnel went dark without a single failed API call. The mask had been live for nine weeks, the API returned 202 on every request, and each submit was accepted inside two seconds. Then the mask stopped rendering. A fortnight of authenticated traffic disappeared into a delivery log that was nothing but successes, and the suspension notice cited one line in the sender ID file: the mask had been sub-let to a sister company. In Pakistan a mask is registered in one business name, is never issued on a generic or shared basis, and may not be leased or sub-let to another entity.

The Big Question: when the sender identity your users see is a licensed asset with an owner, a taxpayer number and an expiry, who actually owns the OTP funnel you have built on top of it — and what happens to that funnel on the two networks that will never render your brand in the first place?

The instinct is to read this as a paperwork problem, file a fresh submission, and wait. That instinct is a head-fake, and it costs a month. Compliance is only half of the story, because sender identity in Pakistan is also a rendering decision made by each operator independently. Mobilink/Jazz (410-01), Warid and Zong (410-04) support alphanumeric sender names. Telenor Pakistan (410-06) and Ufone (410-03) use a numeric short code sender name instead, so a perfectly approved mask still arrives as digits on half the market. Add the second mechanism — a sender ID that does not match what the destination network expects can be overwritten outside the platform with a random short code or a generic alphanumeric sender to preserve deliverability — and the architecture writes itself. Two identities, one routing decision: an alphanumeric mask for Jazz and Zong reach, a dedicated 7-digit shortcode for Telenor and Ufone reach, and a routing table that maps recipient prefix to the correct identity at send time. Once you see that, the nine-week outage is obvious in retrospect.

Why do Pakistani OTPs arrive from a 7-digit short code instead of your brand?

Key Takeaway / Direct Answer

Because Telenor Pakistan (410-06) and Ufone (410-03) do not display alphanumeric sender names — they render a numeric short code as the sender identity — while Mobilink/Jazz (410-01), Warid and Zong (410-04) do support alphanumeric masks. A sender ID that does not match the destination network's expectation can also be overwritten outside the platform with a random short code or a generic alphanumeric sender to preserve deliverability. Your API response and your receipt never change. That is why a dedicated 7-digit shortcode, not an alphanumeric mask, is the reliable identity for OTP traffic on Telenor and Ufone.

The mechanism is substitution, not rejection. An operator that cannot render your mask has no commercial reason to bounce the revenue, so it relabels the traffic and delivers it. Nothing in the submit response, the deliver_sm PDU, or the handset-confirmed receipt records that the identity changed, because identity is not a delivery property. A receipt proves the GSM 03.38 payload reached a handset; it says nothing about whether the recipient believed the message came from you.

This is why testing on the wrong network hides the problem for months. Pilot against a Jazz destination on 410-01 and the mask renders beautifully, the receipt confirms, and the integration looks finished. Move the same payload to a Telenor destination on 410-06 and the sender becomes a numeric short code — or, if the mask is not registered against that network at all, a random short code no user has ever seen. The only telemetry that detects it is a funnel metric segmented by operator: OTP entry rate and resend rate, watched daily, per MCC-MNC. The same reconciliation discipline applies to bulk programmes; the multi-carrier failover routing architecture covers how identity survives a route switch.

PTA, PECA 2016 and the rulebook for masked messaging

The regulator is the Pakistan Telecommunication Authority, PTA. Bulk messaging and sender ID (masked) messaging are regulated activities, and every branded mask is submitted through PTA's approval process before it goes live on the Jazz, Zong, Telenor and Ufone networks. That sequence matters: you cannot test a mask into production and register it afterwards, because an unapproved mask is not a soft launch — it is traffic the networks are entitled to relabel.

The legal backdrop has three layers. The Prevention of Electronic Crimes Act 2016, PECA, supplies the criminal-law frame for misuse of identity information and unauthorised interference with systems — relevant to you less as a sender than as a data custodian, because subscriber data you hold for routing is identity information. PTA's anti-spam and bulk SMS directives supply the commercial rules: who may send, with what consent, and with what suppression obligations. Data-retention expectations for regulatory purposes supply the third layer, meaning consent records, opt-out records and delivery logs must be producible on request rather than reconstructed after the fact.

Content restrictions are categorical and enforced at mask level, which is the detail teams miss. There is no political content, no religious content, no unsolicited promotional content and no gambling content on a registered mask. Marketing messages require both opt-in and a working opt-out. DND — Do Not Disturb — is a network-level subscriber block, not a suggestion from a regulator: a number on DND must be suppressed before the submit, and honouring it after the complaint is not honouring it. Losing a mask to a content breach means re-entering a queue measured in weeks, so content review belongs in code review, not in a launch-week meeting.

Registering a mask with PTA, step by step

Registration is a pre-launch critical-path item sitting beside app store review, not a switch you flip on the day you go live. Treat it as a project with a named owner, a document checklist and a calendar date, because the clock only starts once the submission is complete.

Step 1: hold an NTN in the applicant's own name

The gating document is an NTN — a National Tax Number issued by the Federal Board of Revenue — together with business and identity verification documents. The NTN must belong to the entity that will appear as the sender. A parent-company number attached to a trading brand, or a subsidiary filing under a group NTN, is the single most common cause of a queried submission and a restarted clock.

Step 2: define the mask exactly as it will render

A mask is a brand name registered with PTA to appear as the sender of a branded SMS in place of a phone number. Submit the exact string, in the exact case, with the exact punctuation — then use that string byte-for-byte in your API payloads. A mask registered as BRANDOTP and submitted as BrandOtp is a mismatch, and mismatches are exactly what network-side substitution is designed to catch. Keep it within 11 GSM 03.38 characters and avoid characters that force a UCS-2 payload; the arithmetic is in the GSM-7 versus UCS-2 billing guide.

Step 3: attach traffic evidence and use cases

Expect to declare the traffic class — transactional authentication, transactional notification or opt-in marketing — along with message samples for every template variant and an expected monthly volume. Samples for OTP traffic should contain a placeholder code and a validity window, not a live credential. Volume estimates that differ wildly from measured traffic after launch are a reason for review, so forecast from your own funnel maths rather than from ambition.

Step 4: plan for up to a month, then register the shortcode

Approval is not instant. Industry guidance is that pre-registration can take up to a month, with two to four weeks typical for a clean submission. While that runs, request the dedicated 7-digit shortcode you will use for Telenor and Ufone reach, and confirm the exact sender string the shortcode will present on 410-06 and 410-03. The two workstreams are independent, so run them in parallel and you arrive at launch day with both identities proven.

One structural rule overrides every optimisation: a mask is registered in the applicant's own business name and is never issued on a generic or shared basis. It may not be leased or sub-let to another entity. Franchise models, agency-run campaigns and white-label resellers all founder on this point, because the entity that sends must be the entity that owns the mask. If a partner needs branded traffic, they need their own NTN, their own submission and their own mask.

Jazz, Zong, Telenor and Ufone: four networks, two sender identity regimes

Pakistan is MCC 410 with dialling code +92, and a normalised mobile destination looks like +923001234567. Behind that country code sit four networks you will actually route to, and the difference between them is not coverage or price — it is whether an alphanumeric string can be rendered as a sender at all.

Mobilink/Jazz on 410-01, Warid and Zong (CMPak) on 410-04 support alphanumeric sender names. Telenor Pakistan on 410-06 and Ufone on 410-03 use a numeric short code sender name. Dynamic numeric sender IDs are not supported by all operators, and a sender ID may be overwritten with a random short code or a generic alphanumeric sender outside the platform to preserve deliverability. Read those two sentences together and the operating model is unambiguous: your mask is a brand asset on two networks and invisible on the other two, while your shortcode is the only identity that renders consistently everywhere. The table below is the decision matrix we hand to teams before they choose a sender identity.

Sender identity Where it renders What it is good for
Alphanumeric mask 410-01, 410-04, Warid Branded transactional notification and opt-in marketing, where recognition drives the action
7-digit shortcode 410-06, 410-03, everywhere OTP and authentication traffic, where a stable numeric identity must survive every network
Overwritten generic sender Any, on mismatch Nothing. It is a symptom of a registration or routing defect, and it suppresses OTP entry rates

MCC 410 network codes: Jazz 410-01, Zong 410-04, Telenor 410-06, Ufone 410-03. Warid traffic now rides the Jazz core.

There is a second-order effect worth planning for: because the two regimes behave differently, your A/B tests are not comparable across networks. A template change that lifts OTP entry by four points on 410-01 may do nothing on 410-03, where the sender is digits regardless of what you submit. Segment every experiment by MCC-MNC before concluding anything about copy, timing or retry policy.

Pakistani route telemetry: base rates, MCC-MNC codes and latency windows

The numbers below are the ones to build a capacity model on. The base rate is $0.0075 per message across all four networks, before volume tiers, and the latency window is a measured P50 to P95 band from submit to handset-confirmed receipt on a warmed direct interconnect. Reseller hops add a second store-and-forward stage and typically double the upper bound, which is why the tail matters more than the median for OTP. Per-country base rates for every destination we terminate are published on the SMS pricing page.

Network MCC-MNC Base rate and measured latency
Mobilink / Jazz 410-01 $0.0075 per message; 2.1s to 4.8s handset-confirmed
Telenor Pakistan 410-06 $0.0075 per message; 2.6s to 6.2s handset-confirmed
Zong (CMPak) 410-04 $0.0075 per message; 2.3s to 5.4s handset-confirmed
Ufone 410-03 $0.0075 per message; 3.0s to 7.1s handset-confirmed

Pakistan is MCC 410 and dialling code +92. Latency measured submit to handset-confirmed delivery receipt, warmed direct interconnect, single-segment GSM-7 payload.

Consent, opt-out and DND scrubbing in Pakistan

Consent in Pakistan has to be demonstrable, not assumed. Capture the timestamp, the surface the number was collected on, and the exact wording the subscriber agreed to, then store all three against the number. Marketing requires opt-in and opt-out as a pair: a campaign without a working opt-out path is unsolicited promotional content by definition, which is the category PTA's anti-spam directives target and the fastest route to a mask suspension.

DND is the part engineers underestimate, because it is a network-level subscriber block rather than a preference stored in your own CRM. A DND-registered number must be suppressed before you submit, which means a scrubbing stage in the send path and a suppression list you refresh on a schedule. Transactional OTP traffic sits outside the marketing opt-out regime, but that exemption is not a licence to append a promotional line to an OTP template — a hybrid message inherits the marketing rules and the complaints that follow.

Reconciliation is the other half. Delivery receipts here are handset-based rather than SMSC-acceptance based, so a sent log entry is not proof of delivery; it is proof that you submitted. Reconcile the two separately: track submit-to-accept latency for routing health, and handset-confirmed receipts for delivered volume and billing truth. Where the two diverge by operator, you have found either a DND block you did not scrub, a substituted identity, or a handset that never registered — and only the per-operator split tells you which. The real-time delivery receipt webhook design we publish covers the reconciliation loop end to end.

Engineering a split-identity router with prefix mapping

The architecture is one decision made at send time: which identity does this recipient's network actually render? Everything else — DND scrubbing, retry policy, receipt reconciliation — hangs off that decision. The request below sends a single-segment OTP to a Jazz destination on 410-01, asserting the alphanumeric mask, a GSM-7 data coding scheme so the network need not guess, and an idempotency key so a retry cannot produce a second billable message. The same payload shape works over SMPP v3.4 if you prefer a persistent bind to REST.

send-otp-pk.sh
cURL / REST API
curl -X POST https://api.sendsmsnokyc.com/sms/send \
  -H "Authorization: Bearer sr_live_pk_key" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+923001234567",
    "sender_id": "BRANDOTP",
    "message": "Your BRAND code is 482913. Valid for 5 minutes. Never share it.",
    "dcs": 0,
    "network_hint": "410-01",
    "use_case": "transactional_authentication",
    "dnd_checked": true,
    "idempotency_key": "otp:923001234567:1750000000"
  }'

Now the router. The map is deliberately explicit rather than clever: 410-06 and 410-03 get the shortcode, 410-01 and 410-04 get the mask, and an unresolved network fails closed instead of guessing. The DND pre-check runs before the submit, because a suppressed number that you message anyway is a complaint you have paid for. Retries are split by class — a 429 or a 5xx is worth a jittered backoff, a permanent rejection never is — and an HLR lookup upstream of this function keeps you from retrying numbers that no longer exist.

route-pk.mjs
Node.js 22
import { setTimeout as sleep } from 'node:timers/promises';

// Telenor 410-06 and Ufone 410-03 render a numeric short code sender only.
// Jazz 410-01 and Zong 410-04 render an approved alphanumeric mask.
const MASK = 'BRANDOTP';
const SHORTCODE = '8210';

const IDENTITY = new Map([
  ['410-01', { sender: MASK,      mode: 'alphanumeric_mask' }],
  ['410-04', { sender: MASK,      mode: 'alphanumeric_mask' }],
  ['410-06', { sender: SHORTCODE, mode: 'numeric_shortcode' }],
  ['410-03', { sender: SHORTCODE, mode: 'numeric_shortcode' }],
]);

const PREFIX = [
  ['30', '410-01'], ['31', '410-01'], ['32', '410-01'],  // Jazz
  ['33', '410-04'], ['36', '410-04'],                    // Zong
  ['34', '410-06'], ['35', '410-06'],                    // Telenor
  ['37', '410-03'],                                      // Ufone
];

const resolveNetwork = (e164) => {
  const nsn = e164.replace(/^\+92/, '');
  const hit = PREFIX.find(([p]) => nsn.startsWith(p));
  return hit ? hit[1] : null;
};

// DND is a network-level subscriber block: filter before you spend a credit.
const dndStore = new Set();  // hydrate from your suppression table on boot
const isDnd = (e164) => dndStore.has(e164);

export async function sendOtp(e164, code, attempt = 0) {
  if (isDnd(e164)) return { status: 'suppressed' };

  const network = resolveNetwork(e164);
  const identity = IDENTITY.get(network);
  if (!identity) return { status: 'unknown_network', network };

  const res = await fetch('https://api.sendsmsnokyc.com/sms/send', {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer ' + process.env.SMSROUTE_KEY,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      to: e164,
      sender_id: identity.sender,
      message: 'Your BRAND code is ' + code + '. Valid for 5 minutes.',
      dcs: 0,
      network_hint: network,
      use_case: 'transactional_authentication',
      dnd_checked: true,
      idempotency_key: 'otp:' + e164 + ':' + code,
    }),
  });

  const body = await res.json();
  const retryable = res.status === 429 || res.status >= 500;
  if (retryable && attempt < 2) {
    await sleep(2 ** attempt * 250 + Math.random() * 250);
    return sendOtp(e164, code, attempt + 1);
  }
  return {
    status: body.delivered ? 'sent' : 'failed',
    network,
    sender: identity.sender,
    mode: identity.mode,
  };
}

Two operational notes on that router. First, log sender and mode with every attempt, because the only way to prove an identity was preserved is to join your send log against the handset-confirmed receipt and the funnel metric for the same message ID. Second, hydrate the DND suppression set from a store you control and refresh it on a schedule; a stale suppression list is indistinguishable from no suppression list, and the cost lands on the mask rather than on a single campaign.

Pakistan SMS launch checklist

Every item below exists because a Pakistani launch has failed on it. Work the list in order before the first production OTP leaves your system, and re-run it whenever a mask changes owner, a template changes content class, or a new route is added to your pumping-fraud mitigation playbook.

Check Failure it prevents
NTN issued by FBR in the sending entity's own name A queried submission and a restarted approval clock
Mask registered in the exact business name that will send A mask suspended mid-campaign for being leased or sub-let
Dedicated 7-digit shortcode provisioned for 410-06 and 410-03 OTP sender identity collapsing to a random short code on Telenor and Ufone
Prefix-to-identity map unit-tested against all four MCC-MNC codes Mask traffic submitted to a network that cannot render it
DND suppression refreshed and applied before every submit Complaints, PTA escalation and a throttled mask
Handset-confirmed receipt reconciliation, never SMSC acceptance Reading a sent log entry as proof of delivery
Content review against the political, religious, gambling and unsolicited-promo exclusions A content-breach suspension that costs a month of re-registration
Opt-out keyword propagation tested for opt-in marketing Repeat-marketing complaints against a branded sender
Per-operator retry policy separating temporary from permanent failures Paying twice for destinations that can never succeed
Consent, opt-out and delivery logs retained and queryable Being unable to answer a PTA or PECA-era records request

Test the checklist against a real handset on each network, not against an aggregator dashboard. A tester on 410-01 will see your mask and tell you the identity is working; a tester on 410-03 will see digits and tell you it is broken. Both are correct, which is precisely why the checklist treats the two regimes as separate deliverables rather than as one configuration flag.

Pakistan SMS API FAQ

How long does PTA mask approval take in Pakistan?

Registration is not instant, and industry guidance is that pre-registration can take up to a month, with two to four weeks typical for a complete submission. Incomplete submissions restart the clock, which is why the NTN and the verification pack belong in the plan before the app build finishes. If a launch date is fixed, submit the mask early and provision the 7-digit shortcode in parallel.

Can I share or sub-let a mask with a partner or franchise?

No. A mask is registered in the applicant's own business name, is never issued on a generic or shared basis, and may not be leased or sub-let to another entity. Every brand that wants branded traffic needs its own NTN, its own submission and its own mask. Reseller and white-label models that pool one mask across several sending entities are the fastest way to lose it.

Do I need KYC to use SMSRoute for Pakistan traffic?

Your account is email-only — no KYC — and you can top up with Bitcoin, USDT, Monero or Ethereum and start sending against the shared shortcode identity immediately. The KYC burden sits with the mask, not with the account: if you want your own branded alphanumeric mask on 410-01 or 410-04, PTA requires an NTN and business verification, and no gateway can waive a regulator's condition. For pure OTP traffic on Telenor and Ufone you do not need a mask at all, because the numeric shortcode is the identity those networks render.

Which sender identity should OTP traffic use on Telenor and Ufone?

A dedicated 7-digit shortcode. Telenor Pakistan on 410-06 and Ufone on 410-03 use a numeric short code sender name, so an alphanumeric mask is the wrong instrument there regardless of how well it is registered. Route on the recipient prefix: 410-06 and 410-03 to the shortcode, 410-01 and 410-04 to the mask, and fail closed on an unresolved network rather than letting a default identity leak into the wrong regime.

Are Pakistani delivery receipts proof the message reached the handset?

Yes, and that is the whole point of the distinction. Receipts on these networks are handset-based rather than SMSC-acceptance based, so a sent entry means you submitted, while a handset-confirmed receipt means the payload reached the device. Neither tells you whether the recipient trusted the sender identity, which is why funnel metrics segmented by MCC-MNC sit alongside delivery data on any Pakistan dashboard worth reading.

The bottom line for Pakistan

Pakistan rewards a two-identity design and punishes a single-identity assumption. Register the mask properly — NTN in the sending entity's name, exact string, no sharing, no sub-letting, no content in the excluded categories — and it will render as your brand on Jazz at 410-01 and Zong at 410-04. Provision the 7-digit shortcode as a separate deliverable and it will render on Telenor at 410-06 and Ufone at 410-03, where an alphanumeric sender name is not displayed at all. Route by recipient prefix, scrub DND before the submit, reconcile against handset-confirmed receipts rather than SMSC acceptance, and retry per operator with a policy that knows the difference between congestion and a permanent rejection. All of it terminates at a $0.0075 per-message base rate across 410-01, 410-06, 410-04 and 410-03, so the engineering effort buys deliverability rather than a bigger invoice.

The commercial throughline is simple. Identity is the product in Pakistan, and identity here is licensed, owned and rendered per network. Teams that treat the mask as a string in a config file lose a month to re-registration and a fortnight to invisible substitution; teams that treat it as an asset with an owner, a taxpayer number, an approval date and a per-network rendering rule launch on schedule and keep the OTP funnel intact. Build the routing table first, keep both identities warm, and the 410-01 / 410-06 / 410-04 / 410-03 matrix stops being a compliance problem and becomes an ordinary configuration detail at $0.0075 per message.

JH

Jacky Hossein

Verified Author

Principal Telecommunications & Cryptographic Systems Architect at SMSRoute. Specializes in carrier-grade SS7/SMPP routing protocols, non-custodial cryptocurrency billing rails, and zero-knowledge telecommunications privacy.

Send Global SMS in Under 60 Seconds Without KYC

Sign up with email only. Top up with Bitcoin, USDT, Monero, or Ethereum. Instant carrier interconnects to 149 countries from $0.004/msg.