A WhatsApp API integration connects your own systems, such as your website, CRM, store or internal tools, to the WhatsApp Business Platform, so they send messages and receive replies and delivery updates on their own. Everything runs on Meta’s Cloud API. You call it directly, or through a platform that sits on top and adds an inbox, templates and automation.
This guide covers the five common integrations, the three costs (Meta’s messages, a platform, developer time), a build-vs-buy table, and how to integrate with Wabot’s REST API.
How a WhatsApp API integration works
- Sending. Per Meta’s platform overview, the Cloud API is built on the Graph API over HTTP: your server sends a JSON request to
https://graph.facebook.com/v27.0/<PHONE_NUMBER_ID>/messageswith an access token (how to send a message with the API, access tokens explained). - Receiving. Every message a customer sends you, and every delivery status, reaches you by webhook. So any integration needs a public HTTPS endpoint, yours or your platform’s (webhook setup).
- The 24-hour rule. Free-form messages are allowed only within 24 hours of the customer’s last message. Outside that customer service window, you send templates Meta has approved. You may only message people who opted in.
- A connected number. The number must be registered on the platform (Cloud API setup step by step, or what the Cloud API is).
Five common integrations
| Integration | What it does | How | Code? |
|---|---|---|---|
| Website | Visitors start a chat with you | Chat button or wa.me link | None |
| CRM or backend | Order, booking and payment updates; replies logged | REST API + webhooks | Some |
| Online store | Order confirmations, shipping updates | Ready-made connector, or store webhooks + API | Little to some |
| No-code tools | Send from forms, sheets, apps | HTTP step in Zapier, Make or n8n | None |
| AI tools | An AI agent sends and reads messages | MCP server | None |
1. Website
Getting visitors into a chat needs no API: a WhatsApp chat button or a link does it. Our free WhatsApp widget generator and link generator make one in a minute. You need the API when the website should message the customer, for example a booking confirmation after a form.
2. CRM or backend
Your system calls the API when something happens (order shipped, invoice due, appointment tomorrow) and receives replies and statuses by webhook, so the record shows what was sent, delivered and answered.
3. Online store
For Odoo 17, 18 and 19 eCommerce, Wabot’s connector sends order and COD confirmations, shipping updates and cancellations, plus abandoned-cart reminders to opted-in customers (WhatsApp Odoo integration). The addon isn’t on the Odoo Apps Store yet. To get the connector, message us on WhatsApp. For other stores, pass the store’s own order webhooks to a small server or a no-code tool that calls the API.
4. No-code tools
Zapier, Make and n8n can call any REST API from an HTTP step (Webhooks by Zapier, Make’s HTTP app, n8n’s HTTP Request node). With Wabot it’s two steps, because Wabot has no native app in these tools:
| Step | Request | Headers | Body |
|---|---|---|---|
| 1. Get a token | POST https://api.wabot.shop/v1/authenticate | clientid, clientsecret | None; read token from the response |
| 2. Send | POST https://api.wabot.shop/send-message/{whatsappPhoneId} | Authorization: the token, Content-Type: application/json | templateName, to, variables |
Keep the Client Secret in the tool’s credential settings. To react to incoming messages, point a Wabot webhook at a URL the tool gives you (Zapier’s Catch Hook, for example).
5. AI tools
Wabot runs an MCP server at https://api.wabot.shop/mcp for Cursor, Claude, Codex and other MCP clients, with tools such as send_template_message and send_session_message. Details in WhatsApp MCP server.
What a WhatsApp API integration costs
1. Meta’s messages. Meta charges per delivered message, by category and recipient country (Meta pricing page). Customer messages are free, and the first 1,000 service replies per number each month are free. An illustration with made-up volumes on one number: 2,000 order updates (utility), 800 replies (service) and one 1,500-message campaign (marketing) in a month, at Meta’s list rates from 1 October 2026, before tax:
| Customers in | 2,000 updates | 800 replies | 1,500 marketing | Month |
|---|---|---|---|---|
| United States | $6.80 | $0 | $37.50 | $44.30 |
| United Kingdom | $44.00 | $0 | $95.25 | $139.25 |
| Brazil | $13.60 | $0 | $93.75 | $107.35 |
| India | $2.80 | $0 | $17.70 | $20.50 (₹1,524.65) |
The US is charged Meta’s North America rate. Marketing messages need opt-in (how to collect it). Every country: WhatsApp API pricing by country.
2. The platform. Meta charges no fee for Cloud API access. Providers charge a monthly plan, and some add a markup on Meta’s message prices or ask you to prepay a message wallet. Check which before you compare plans.
3. Developer time. We won’t quote hourly rates; they vary too much by country. Instead, list the work in the table below, have your developers estimate hours per row, and multiply by your rate. Add a few hours a month for upkeep: Meta changes, template approvals, failed webhooks.
Build vs buy
| Work | Build on the Cloud API | Use a platform’s API |
|---|---|---|
| Connect a number | Meta app, system user token, number registration | Meta’s Embedded Signup inside the platform |
| Send messages | Graph API payloads per message type | A few REST endpoints |
| Receive messages | Your webhook server: verify, queue, store | Platform inbox, plus webhooks to your system |
| Team inbox | Build it: assignment, notes, history | Included |
| Templates | API or WhatsApp Manager | Template screen with Meta status |
| Automation and AI | Build it | Platform workflows and AI agents |
| Upkeep | Graph API versions, Meta changes | Mostly the platform’s job |
| Message charges | Billed to your Meta account | Depends: pass-through or with markup |
| Flexibility | Everything the Cloud API offers | What the platform’s API exposes |
Build it yourself when WhatsApp is core to your product, you need message types or volumes a platform doesn’t offer, and you have developers to maintain it. Use a platform when people on your team will answer chats, you want automation without writing it, or you need to go live this week.
Integrate with Wabot
- Connect your number in Settings → Meta Platforms: Connect your WhatsApp Business app (keeps the app, see coexistence) or Use a new number, both through Meta’s Embedded Signup. Numbers you set up yourself go in Advanced: add with API credentials (for developers).
- Copy your credentials from Settings → Developer → Client Settings: a Client ID and Client Secret, created automatically. Keep the secret on your server. There’s no rotation in the app; if it leaks, email hello@wabot.shop.
- Get a token:
POST /v1/authenticatewith headersclientidandclientsecretreturnstoken(1 hour) andrefreshToken(7 days, rotates). Send the token asAuthorization: <token>, with no “Bearer” (authentication guide). - Send: templates with
POST /send-message/{whatsappPhoneId}(an array body sends in bulk), session messages withPOST /v1/send-message/{whatsappPhoneId}(messages API). Media goes by public URL. - Listen: in Settings → Developer → Webhook, click Add webhook, enter the Webhook URL and pick Events: WhatsApp message (filter by type), Data view, Campaign completed, Template status updated. Payloads are minimal. Campaign completed events carry an
X-Signatureheader (HMAC-SHA256 with your Client Secret). For one message’s status, passcallback_urlwhen you send. - Start automations from your system: a workflow with the Webhook trigger gets its own URL,
https://wh.wabot.shop/webhook/workflow/{identifier}.
In Python, authenticate once and send a template, then a session message:
import os
import requests
API = "https://api.wabot.shop"
PHONE_ID = os.environ["WABOT_PHONE_ID"] # whatsappPhoneId, from GET /account/get
auth = requests.post(
f"{API}/v1/authenticate",
headers={
"clientid": os.environ["WABOT_CLIENT_ID"],
"clientsecret": os.environ["WABOT_CLIENT_SECRET"],
},
timeout=15,
)
auth.raise_for_status()
headers = {"Authorization": auth.json()["token"]} # no "Bearer"; valid for 1 hour
# Template message: allowed any time
r = requests.post(
f"{API}/send-message/{PHONE_ID}",
headers=headers,
json={
"templateName": "order_update",
"to": "+15551234567",
"receipentName": "Sam", # spelled this way in the API
"variables": {"name": "Sam", "custom_order": "#1042"},
"callback_url": "https://example.com/wabot/status",
"event": ["delivered", "read", "failed"],
},
timeout=30,
)
print(r.status_code, r.json()) # 200, or 207 with a reason per message
# Session message: only within 24 hours of the customer's last message
r = requests.post(
f"{API}/v1/send-message/{PHONE_ID}",
headers=headers,
json={
"typOfmsg": "normal_message",
"receipentPhone": "+15551234567",
"message": "Thanks Sam, your order is on its way.",
},
timeout=30,
)
print(r.status_code, r.json())
- The REST API takes 105 requests a minute; reuse the token for its hour.
- Send responses don’t include WhatsApp’s message ID; use
callback_urlfor delivery and read statuses. - There are no official client libraries; any HTTP client works.
- Replies land in the shared team inbox, so people can take over from your code.
- Meta bills messages to your own Meta account, with no markup from us. Plans are Starter $9, Silver $25 and Gold $59 a month; in India Starter ₹840/month, Silver ₹2,160/month, Gold ₹5,749/month and the Base Plan ₹9,240/year (adds workflows), all + 18% GST.
Connect WhatsApp to your systems
Create your free Wabot account and connect your WhatsApp number. No card needed. Your Client ID and Client Secret are ready in Settings.
Frequently asked questions
What is a WhatsApp API integration?
A connection between your own systems (website, CRM, store, internal tools) and the WhatsApp Business Platform, so they can send WhatsApp messages and receive replies and delivery updates automatically, without someone typing on a phone.
Is WhatsApp API integration free?
Meta charges no fee for Cloud API access, but you pay per delivered template message, and for service replies beyond 1,000 per number each month. On top come a platform plan if you use one, and developer time.
Can I connect WhatsApp to my CRM?
Yes, if your CRM can call a REST API or a webhook, directly or through a no-code tool. It sends messages through the API and receives incoming messages and statuses by webhook.
Does Wabot have a Zapier or Make app?
No native app. Use the HTTP step in Zapier, Make or n8n to call Wabot’s REST API: one request for the token, one to send the message.
Do I need a business solution provider?
No. You can build directly on Meta’s Cloud API and pay only Meta’s message charges. A provider saves you building the inbox, template screens, automation and upkeep.
Start with one integration
A WhatsApp API integration is two pipes: requests out to send messages, webhooks in to hear back. The cost is Meta’s per-message charges, plus a platform if you use one, plus your developers’ time.
Start with the integration that saves the most manual work, usually order or booking updates from your backend, and add the inbox, automation and AI once the basics run.
