The WhatsApp Business API lets businesses message customers on WhatsApp at scale through software. Messages the business starts must use templates approved in advance, and Meta charges for them per message. Replies to a customer within 24 hours of their last message are free-form and, for most message types, free.
Key takeaways:
- Two kinds of messages: Business-initiated template messages, and free-form replies inside the 24-hour customer service window.
- Templates need approval: Meta reviews each template and sorts it into marketing, utility or authentication.
- You pay per template message: Rates depend on the template category and the customer’s country.
- Replies are free: Free-form replies within the 24-hour window cost nothing.
- AI agents fit the window: An AI agent that answers instantly keeps conversations inside the free window.
If you have used the free WhatsApp Business app, the API is a different tool. It is built for businesses that need to message many customers, connect WhatsApp to their CRM or booking system, and use automation or AI agents. Meta now calls it the WhatsApp Business Platform. If you are setting it up for the first time, start with how to use the WhatsApp Business API. This guide explains the rules that decide what you can send and what it costs.
The two kinds of messages
Everything on the API falls into one of two groups.
Template messages are messages your business starts: a booking confirmation, a payment reminder, a one-time password or a promotion. They must use a template that Meta has approved in advance.
Free-form messages are replies to a customer who has messaged you. Within the customer service window you can write whatever the conversation needs, including images, documents and buttons, without a template.
The 24-hour customer service window
When a customer sends you a message, a 24-hour customer service window opens. During that window your business, or your AI agent, can reply freely. Every new message from the customer restarts the 24 hours.
Once the window closes, you can only reach the customer again with an approved template message. This rule protects customers from unwanted messages, and it is why fast replies matter: a question answered in seconds keeps the whole conversation inside the window.
Templates and their categories
Meta sorts every template into one of three categories:
- Marketing: Promotions, offers, new products, re-engagement and anything else that is not strictly transactional.
- Utility: Updates about something the customer has already agreed to, such as an order, a booking or an account.
- Authentication: One-time passwords and verification codes.
Each template is reviewed before you can use it. Meta can reject a template, or move it to a different category, if its content does not match. Write utility templates about the transaction only; adding a promotion to an order update can turn it into a marketing message. For ready-made wording, see WhatsApp message templates: 35+ examples that convert.
What Meta charges
Meta charges per delivered template message. The rate depends on two things: the template category and the country code of the customer’s phone number. Marketing messages cost the most, utility and authentication less.
Some messages are free:
- Free-form replies within the 24-hour customer service window.
- Utility templates sent while a customer service window is open.
- Messages after an ad click: When a customer starts a chat from a click-to-WhatsApp ad or a Facebook Page button, a longer free window opens.
Meta updates its prices and rules from time to time, so always check the current rate card on Meta’s WhatsApp pricing page before you budget.
Provider fees
Most businesses reach the API through a software platform rather than building directly on Meta’s API. Platforms charge for their own software on top of Meta’s message fees. When comparing them, ask whether Meta’s fees are passed through at cost or marked up, and what the platform fee covers: inbox, automation, AI agents, integrations and support.
Opt-in and quality
You need a customer’s permission before you message them on WhatsApp. Collect opt-in clearly, at a point where the customer understands what they will receive. Our guide on how to get WhatsApp opt-in covers seven ways to do it.
Meta also watches how customers react to your messages. If many people block or report you, your phone number’s quality rating drops and your sending limits can be reduced. Relevant, expected messages protect your rating; mass promotions to people who did not ask for them damage it.
A verified business badge also builds trust. See how to apply for WhatsApp green tick verification.
How to keep costs down
- Answer fast: Reply while the customer service window is open, when free-form replies cost nothing.
- Use the right category: Keep transactional updates as utility templates, not marketing.
- Start conversations from ads: Click-to-WhatsApp ads open a free window.
- Send fewer, better promotions: Target customers who opted in to offers, and measure replies, not just sends.
- Let an AI agent handle replies: It answers every message instantly, around the clock, so conversations stay inside the window.
Where AI agents fit
The 24-hour window rewards businesses that reply immediately. An AI agent on WhatsApp answers every message in seconds, qualifies the customer, books the next step and writes the result into your CRM, without waiting for office hours. It hands over to a person, with the conversation so far, when a request needs one.
BotSpice runs AI agents on WhatsApp alongside voice, SMS, RCS, Instagram, web chat and email, with 50+ integrations across CRM, PMS, ads and payments. See pricing or book a free demo.