Reference

The WhatsApp Business API, explained plainly

What the API is, how it differs from the free WhatsApp Business app, what Meta charges for, and the rules — windows, templates, opt-in — that shape what an AI agent is allowed to do on your number.

What is the WhatsApp Business API?

The WhatsApp Business API (now delivered mainly as the Cloud API, hosted by Meta) is the official way for software to send and receive WhatsApp messages on a business number. It has no app and no interface of its own — it is the pipe that a tool such as a shared inbox, a CRM or an AI agent connects to. It is what makes automated replies possible at all, and it is the only method Meta sanctions.

The free WhatsApp Business app, by contrast, is a phone app for a human to type in. It has no official automation hooks, which is why an AI agent needs the API.

Choosing

Business app, Cloud API,
or On-Premises?

Comparison of the WhatsApp Business app, the WhatsApp Cloud API and the On-Premises API.
  Business app Cloud API On-Premises API
Who it is forOne person with a phoneAlmost everyone elseEnterprises with hosting rules
Can software reply automatically✗ No official way✓ Yes✓ Yes
Where it runsOn a handsetMeta's serversYour own servers
Team accessUp to a handful of linked devicesUnlimited, via your inbox toolUnlimited
Cost of accessFreeFree; pay per conversationFree; you pay hosting
SetupMinutesMinutes, guidedEngineering project
StatusActiveMeta's recommended pathBeing retired in favour of Cloud

For a business putting an AI agent on WhatsApp, the Cloud API is effectively the answer. On-Premises exists for organisations with data-residency requirements, and Meta has been steering everyone towards Cloud for years.

The rule that catches everyone

The 24-hour window

This single rule explains most of what an agent can and cannot do, and most of what you will be charged.

Inside the window — free and unrestricted

A customer writes to you. For the next 24 hours your agent can reply with anything it likes: text, buttons, images, PDFs, as many messages as the conversation needs. Since Meta's 2025 pricing change these service conversations carry no per-conversation fee. Every new customer message restarts the clock, so a normal support thread never leaves the window.

Outside it — templates only

More than 24 hours after the customer's last message, free-form replies are blocked. You may send only a template that Meta has pre-approved, and that message is charged. This is why a reminder the day before an appointment, or a win-back offer, has to be a template — and why an agent cannot simply "follow up next week" on its own.

Utility

Tied to a transaction the customer expects: order confirmations, delivery updates, appointment reminders. Approved readily, charged per message.

Marketing

Offers, launches, win-backs. Needs explicit opt-in, gets the closest review, costs the most, and does the most damage to your quality rating if misused.

Authentication

One-time passcodes. Narrow, strictly formatted and priced separately. Not usually relevant to a support or sales agent.

Meta's conversation categories and rates change from time to time and vary by country. Check Meta's current WhatsApp pricing page before you budget a campaign — treat anything a vendor tells you about Meta's fees, this page included, as a starting point rather than a quote.

Opt-in

Permission is not optional

WhatsApp's policy requires that a customer has agreed to hear from you before you message them first. This is not a formality — it is enforced through your quality rating, and a number that collects blocks gets throttled and eventually cut off.

Opt-in that holds up

  • A checkbox at checkout or on a form, unticked by default, naming WhatsApp specifically
  • A customer messaging you first — the cleanest signal there is
  • A click-to-WhatsApp ad or a website button the customer chose to press
  • A record of when and how consent was given, kept somewhere you can produce it

What will cost you the number

  • Importing a bought list and sending it a template
  • Treating consent to email as consent to WhatsApp
  • Sending promotions to people who only ever asked a support question
Getting access

How to actually get on the API

You can apply directly to Meta and build against the API yourself, or connect through a platform that does the plumbing. For most businesses the second is the whole point.

Direct with Meta

Create a Meta Business account, add the WhatsApp product, register and verify a number, configure a webhook endpoint, handle tokens and renewals, build template submission, and then build the actual agent on top.

Suits: engineering teams who want to own the integration.
Cost: free access, plus the weeks of work.

Through a platform like Categent

Sign in with Facebook inside a guided popup, pick or migrate your number, and you are registered — webhooks, tokens and template submission handled. The AI agent, knowledge base, actions and shared inbox are the product you are already in.

Suits: anyone who wants to answer customers rather than maintain an integration.
Cost: free plan to start; Meta's conversation fees are separate and shown to you.

Connect your number free

API questions

The things people get stuck on

Is the WhatsApp Business API free?

Access to the Cloud API itself is free — Meta does not charge a platform fee. You are billed per conversation, and the rules changed in 2025 so that service conversations, meaning replies inside the 24-hour window after a customer writes to you, are free. Marketing, utility and authentication messages you start are charged per message at rates that vary by country.

What is the 24-hour customer service window?

When a customer messages you, a 24-hour window opens in which you can reply freely with any content, at no charge. Outside that window you cannot send a free-form message at all — only a pre-approved template. The window resets every time the customer writes again, so an ordinary back-and-forth support conversation never leaves it.

What is a message template and why does it need approval?

A template is a pre-written message with placeholders, like “Hi {{1}}, your appointment on {{2}} is confirmed.” Meta reviews each one to stop the API being used for spam. Approval usually takes minutes to a few hours. Utility templates tied to a transaction are approved most readily; promotional ones get more scrutiny and can be rejected.

Can I use the API without a Facebook account?

No. Access runs through a Meta Business account, so someone in your business needs to be an admin of one. Creating it is free and takes a few minutes, and you do not need a Facebook Page with any followers or activity.

Will using the API get my number banned?

Not if you use the official API and respect opt-in. Bans come from the opposite: unofficial tools that automate the WhatsApp web client, and sending unsolicited marketing. Your quality rating is visible in the Business Manager, and it falls when people block or report you — which is the signal to send less, not more.

How many messages can I send a day?

New numbers start with a messaging limit — commonly 250 business-initiated conversations in 24 hours — which rises automatically as you send quality-rated traffic without complaints. Replies to customers who messaged you first are not what this limit constrains.

Do I need a verified business to get a green tick?

Business verification in Meta Business Manager is a separate process from API access, and the green official badge is granted at Meta's discretion to notable brands rather than on request. You can run an agent perfectly well without one; your display name still shows once approved.

Can two tools use the same number at once?

No. A phone number can be registered to exactly one WhatsApp Business API account at a time, and registering it to the API removes it from the WhatsApp Business phone app. Plan the switchover rather than discovering it mid-week.

Skip the integration work.

Categent registers your number on the official Cloud API in a guided popup, handles templates and webhooks, and gives you the agent on top. Free to start.

Free plan · live the same day · cancel whenever