WhatsApp API in Pakistan: How Businesses Can Send Messages by API in 2026
Any statistics or percentages in this article are general industry figures or illustrations, not QuackAPI measurements or promises. Results depend on your audience, consent and sending patterns. QuackAPI connects to WhatsApp as a linked device (an unofficial method), so read our risk and acceptable use policy before sending.
Why Pakistani businesses use WhatsApp for customer messages
In Pakistan, WhatsApp is where customers already are. Shops take orders on it, clinics book appointments on it, and schools and societies send notices on it. An SMS often goes unread or costs per message, while a WhatsApp message arrives in the chat the customer checks all day.
A WhatsApp API lets your own software send those messages instead of a person typing them: order updates, appointment reminders, payment receipts, one-time codes and support replies. This guide covers what is specific to Pakistan, and the choices you have.
Your two options: official or linked-device
There are two kinds of WhatsApp API and they suit different businesses. The official WhatsApp Business Platform from Meta needs a verified business, approved message templates and per-conversation fees, but it is built for large volumes and gives you an official sender. A linked-device service such as QuackAPI connects the WhatsApp number you already use by scanning a QR code, and then you send through a simple REST API with no template approval.
For a small or medium business that wants to start today, the linked-device route is usually faster and cheaper to try. For a bank-sized sender, the official route is the right one. The full comparison is in Cloud API vs unofficial API, and the honest limits of the linked-device model are in WhatsApp API without Meta approval.
| Official Business Platform | Linked-device (QuackAPI) | |
|---|---|---|
| Setup | Business verification and Meta approval | Scan a QR code, make an API key |
| Message templates | Required for business-started chats | Not required |
| Cost model | Per conversation fees from Meta plus the provider's fee | Flat monthly plan, with a free trial of 14 days or 100 messages |
| Best for | Very large or regulated senders | Small and medium businesses, developers, internal tools |
| Main risk | Approval delays and template rejections | A number can be restricted if it sends spam |
Number format: 92 and no leading zero
The most common first-day mistake is the phone number. Pakistan's country code is 92. A mobile written locally as 0300 1234567 must be sent as 923001234567: country code, then the number without the leading zero, with no plus sign, spaces or dashes. The country code lookup tool does this conversion for you, and it is worth normalising numbers in your own code before every send.
// Turn 0300-1234567, +92 300 1234567 or 3001234567 into 923001234567
function pkNumber(input) {
let n = String(input).replace(/\D/g, ""); // keep digits only
if (n.startsWith("92")) return n;
if (n.startsWith("0")) n = n.slice(1); // drop the leading zero
return "92" + n;
}Urdu, Roman Urdu and emoji
Messages are plain UTF-8 text, so Urdu script, Roman Urdu and emoji all work as long as your code and database store them as UTF-8. If you see question marks or boxes, the problem is almost always the database column or an HTTP library that is not set to UTF-8, not the API.
Many Pakistani customers prefer Roman Urdu for quick messages, so test your templates in the language your customers actually write. Keep lines short, because long single paragraphs are hard to read on a phone.
When to send, and what to automate first
Send during daytime hours in Pakistan Standard Time, and avoid the hours around prayer times for anything that is not urgent. A reminder at a sensible hour gets a reply, while one at midnight gets blocked. Pace the sends instead of firing hundreds at once.
Start with one message type that clearly saves time. Good first choices are cash on delivery confirmation (see the COD confirmation guide), appointment reminders, payment receipts and invoice PDFs. Add automatic replies and a support inbox later.
Only message people who have agreed to hear from you. QuackAPI is a linked-device service, not Meta's official Cloud API, so WhatsApp can restrict a number it considers abusive. Read the acceptable use policy before you automate anything.
Getting started in about ten minutes
Create a free account, scan the QR code with the WhatsApp number you want to send from, create an API key and send a first request. The quick start walks through it, and there are code examples for Node.js, Python, PHP, Go, Java, C# and Ruby. The free trial lasts 14 days or 100 messages, whichever comes first, and needs no card. Current plans and prices are on the pricing page.