Developers
Build on CommuniQate: API, webhooks and MCP
The CommuniQate WhatsApp API is a public REST API for building WhatsApp, Instagram, Messenger and email into your own software, with a specification in OpenAPI 3.1.
- REST API with OpenAPI 3.1
- Webhooks for every channel
- MCP server in the AI kit
30-minute demo · no obligation · cancel any month
Prefer a quick WhatsApp first?WhatsApp us
Webhooks report every message straight to your own endpoint, and with the AI kit your own AI assistant works with your customer conversations via MCP.
Send
Send a message in a few lines
Your system books an appointment and your customer gets the confirmation on WhatsApp. One POST, with a key only you have.
- Create an API key under Settings › API & webhooks
- Pick your channel and an approved message template
- Send, and follow the status via a webhook
For example, at an orthodontist
curl -X POST "https://api.communiqate.nl/workspaces/v1/$CQ_WORKSPACE_ID/conversations" \
-H "Authorization: Bearer $CQ_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"channel_id": "$CQ_CHANNEL_ID",
"identifier": "+31612345678",
"contact": { "first_name": "Esther", "last_name": "Wolters" },
"message": {
"type": "whatsapp_template",
"whatsapp_template": {
"message_template": "appointment_confirmation",
"components": [{ "type": "body", "parameters": [
{ "type": "text", "text": "Esther" },
{ "type": "text", "text": "Tuesday at 13:15" }
] }]
}
}
}
EOFconst res = await fetch(
`https://api.communiqate.nl/workspaces/v1/${process.env.CQ_WORKSPACE_ID}/conversations`,
{
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CQ_API_KEY}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
channel_id: process.env.CQ_CHANNEL_ID,
identifier: "+31612345678",
contact: { first_name: "Esther", last_name: "Wolters" },
message: {
type: "whatsapp_template",
whatsapp_template: {
message_template: "appointment_confirmation",
components: [{ type: "body", parameters: [
{ type: "text", text: "Esther" },
{ type: "text", text: "Tuesday at 13:15" },
] }],
},
},
}),
},
)
console.log(res.status) // 201: queuedimport os, uuid, requests
res = requests.post(
f"https://api.communiqate.nl/workspaces/v1/{os.environ['CQ_WORKSPACE_ID']}/conversations",
headers={
"Authorization": f"Bearer {os.environ['CQ_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"channel_id": os.environ["CQ_CHANNEL_ID"],
"identifier": "+31612345678",
"contact": {"first_name": "Esther", "last_name": "Wolters"},
"message": {
"type": "whatsapp_template",
"whatsapp_template": {
"message_template": "appointment_confirmation",
"components": [{"type": "body", "parameters": [
{"type": "text", "text": "Esther"},
{"type": "text", "text": "Tuesday at 13:15"},
]}],
},
},
},
)
print(res.status_code) # 201: queuedAPI reference
One API for all your channels
Conversations, messages, contacts, message templates and webhooks, on one base URL per workspace. Each key only gets the permissions you tick.
https://api.communiqate.nl/workspaces/v1/{workspace-id}- REST and JSON
- UUIDs as ids
- Times in ISO 8601, UTC
- Bearer keys with 14 scopes
- Cursors on conversations and messages
- OpenAPI 3.1
Permissionsconversations:readconversations:write
| Method | Path | What it does |
|---|---|---|
| GET | /conversations | Conversations, newest first, with filters |
| POST | /conversations | First message to a number or email address |
| GET | /conversations/{conversation} | One conversation, with contact and labels |
| PATCH | /conversations/{conversation} | Close, labels, assign, automations on or off |
Permissionsmessages:readmessages:write
| Method | Path | What it does |
|---|---|---|
| GET | /conversations/{conversation}/messages | Messages in a conversation, newest first |
| POST | /conversations/{conversation}/messages | Send a message: text, media, buttons or template |
| GET | /conversations/{conversation}/messages/{message} | One message with its status |
| POST | /conversations/{conversation}/typing-indicator | Show that a reply is on its way |
| POST | /files | Upload a file, up to 25 MB |
Permissionscontacts:readcontacts:write
| Method | Path | What it does |
|---|---|---|
| GET | /contacts | Search by name, number, email, list or segment |
| POST | /contacts | New contact, with marketing consent |
| GET | /contacts/{contact} | One contact |
| PATCH | /contacts/{contact} | Update a contact |
| PUT | /contacts/{contact}/meta-fields/{field} | Set or clear a custom field |
| POST | /contacts/{contact}/lists/{list} | Add to a list |
| DELETE | /contacts/{contact}/lists/{list} | Remove from a list |
Permissionsmeta_fields:readmeta_fields:write
| Method | Path | What it does |
|---|---|---|
| GET | /meta-fields | Custom fields with name, slug and type |
| POST | /meta-fields | New field: text, number, yes or no, date |
| GET | /meta-fields/{field} | One field |
| PATCH | /meta-fields/{field} | Rename |
| DELETE | /meta-fields/{field} | Delete, from all contacts |
Permissionstemplates:readtemplates:write
| Method | Path | What it does |
|---|---|---|
| GET | /whatsapp-accounts/{account}/message-templates | Templates with their status at Meta |
| POST | /whatsapp-accounts/{account}/message-templates | New template, can be submitted straight away |
| GET | /whatsapp-accounts/{account}/message-templates/{template} | One template |
| PATCH | /whatsapp-accounts/{account}/message-templates/{template} | Edit, as a draft or after rejection |
| POST | /whatsapp-accounts/{account}/message-templates/{template}/submit | Submit to Meta |
Permissionschannels:read
| Method | Path | What it does |
|---|---|---|
| GET | /channels | Channels with number, status and health |
| GET | /channels/{channel} | One channel |
| GET | /whatsapp-accounts | WhatsApp accounts |
| GET | /whatsapp-accounts/{account} | One account |
Permissionswebhooks:readwebhooks:write
| Method | Path | What it does |
|---|---|---|
| GET | /webhooks | The workspace's endpoints |
| POST | /webhooks | New endpoint, with signing secret |
| GET | /webhooks/{webhook} | One endpoint |
| PATCH | /webhooks/{webhook} | URL, events, on or off |
| DELETE | /webhooks/{webhook} | Delete an endpoint |
Together with the routes for email templates, there are 37. The full reference and the OpenAPI specification (JSON) are in your workspace after you log in, under Settings › API & webhooks.
What you can build on
Never send twice
Put an Idempotency-Key on every POST. The same key within 24 hours returns the first response, without sending anything twice.
Idempotency-Replayed: trueOne clear limit
250 requests per minute per key. Go over it, and Retry-After tells you how long to wait.
429 rate_limitedPermissions per key
14 scopes. A key only sees what its creator may see in the app, and you can revoke it instantly.
messages:writeErrors in one shape
Always a code, a message and, per field, what's wrong. You react to the code, not the text.
error.code: validation_failedStatus per message
Every outgoing message goes from pending to sent, delivered and read, or to failed. A status only moves forward.
pending · sent · delivered · readOn Meta's official API
WhatsApp runs through Meta's official API. CommuniQate is an Official WhatsApp Business Partner.
Webhooks
Every message in real time in your own system
A customer sends something and your endpoint hears about it straight away. Every delivery is signed, and whatever fails, we retry.
A messages.inbound delivery
{
"id": "0192f6b8-9e40-...",
"event": "messages.inbound",
"version": "v1",
"data": {
"id": "0192f6b8-9e3f-...",
"conversation_id": "0192f6a1-77b0-...",
"channel": {
"id": "0192e044-...",
"type": "whatsapp",
"name": "Workshop"
},
"sender": { "type": "contact", "id": "0192f6a1-8c2d-..." },
"contact": {
"id": "0192f6a1-8c2d-...",
"name": "Henk Visser",
"phone": "+31612345678"
},
"type": "text",
"text": "Can you do the MOT next week? I'll need a courtesy car.",
"inbound": true,
"created_at": "2026-11-18T07:41:02Z"
},
"metadata": {
"workspace_id": "...",
"subscription_id": "..."
}
}Seven events to subscribe to
| Event | When |
|---|---|
messages.inbound | A customer sends something, on any channel |
messages.outbound | Something goes out: from a colleague, the API, an automation, a campaign or the WhatsApp Business app |
messages.status_updated | A message was sent, delivered, read, failed, cancelled or deleted |
templates.created | A template was added |
templates.status_changed | Meta approves, rejects, pauses or disables a template |
templates.category_changed | A template's category has changed |
templates.deleted | A template was deleted |
Headers on every delivery
Signature- HMAC-SHA256 of the raw body, in hex, with your signing secret as the key
Timestamp- Unix time of this attempt
X-Webhook-Attempt- Attempt number, 1 for the first
X-Webhook-Version- Payload version, currently v1
Verify the signature
import crypto from "node:crypto"
// rawBody: the body exactly as it arrived
const hmac = crypto.createHmac("sha256", secret).update(rawBody)
const expected = Buffer.from(hmac.digest("hex"))
const received = Buffer.from(req.get("Signature") ?? "")
const valid = received.length === expected.length &&
crypto.timingSafeEqual(expected, received)
if (!valid) return res.sendStatus(401)import hashlib, hmac
# raw_body: the body exactly as it arrived (bytes)
expected = hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest()
received = request.headers.get("Signature", "")
if not hmac.compare_digest(expected, received):
abort(401)- Compute the HMAC over the body exactly as it arrived, not over re-serialised JSON.
- Respond within 10 seconds with a 2xx and process afterwards.
- Deduplicate on id: a retry has the same id.
- Sort by the time in the payload, not by the moment of arrival.
- Up to 3 endpoints per workspace, with a test delivery from the app.
- Campaign messages don't send status updates, so a large campaign doesn't flood your endpoint.
Delivery failed? Then we retry
Up to six times, always with the same id. If the last attempt fails too, CommuniQate pauses the endpoint until you switch it back on.
- First attempt
- +1 minattempt 2
- +5 minattempt 3
- +30 minattempt 4
- +2 hoursattempt 5
- +8 hoursattempt 6
- +24 hoursattempt 7
MCP
Connect your own AI assistant
With the MCP server from the AI kit, Claude, Codex and Cursor work with your customer conversations. You ask in plain language, the assistant does the work in CommuniQate.
For example, at an estate agent
- Which viewers are still waiting for a reply?
cq_gesprekkenwacht_op_antwoord- Two. Bart Verschuren wants a viewing on Saturday at Prinses Irenelaan, and Floor Jacobs is asking about the 1930s house. Shall I send Bart the confirmation for Saturday at 11:30?
- Yes, go ahead.
cq_stuur_sjabloonviewing_confirmation- Sent and queued. As soon as Bart replies, it'll be in your inbox.
claude mcp add communiqate \
--scope user -- node \
"$HOME/communiqate-ai-kit/cq.mjs" mcp{
"mcpServers": {
"communiqate": {
"command": "node",
"args": ["/path/to/communiqate-ai-kit/cq.mjs", "mcp"]
}
}
}[mcp_servers.communiqate]
command = "node"
args = ["/path/to/communiqate-ai-kit/cq.mjs", "mcp"]The MCP server runs locally on your own computer, from the AI kit, with an API key from your workspace. There is no hosted MCP server.
Tools of the MCP server
cq_gesprekkenSearch conversations, including who's waiting for a replycq_gesprekOne conversation with the latest messagescq_nieuwNew incoming messagescq_stuurMessage in a conversation, within 24 hourscq_stuur_sjabloonSend an approved message templatecq_doorzettenHand a question over to a colleaguecq_opvolging_plannenSchedule a follow-upcq_apiAny other route of the API
Plus eleven more, from updating contacts to custom fields: 19 tools in total.
AI kit
The AI kit for Claude Code, Codex and Cursor
One folder with an MCP server, a command line and fixed working rules. Paste the install prompt into your AI app and your assistant walks you through it step by step.
Test mode
At first, messages can only go to your own number and to colleagues you name.
Key never in the chat
Your API key goes from your clipboard straight into a file on your computer.
A colleague for custom work
Custom quotes, discounts and contracts are handed over to a colleague by the assistant.
Follow-up that checks first
A scheduled reminder only goes out if the customer hasn't replied yet.
Works with
- Claude Code
- Claude Desktop
- Codex
- Cursor
- Any app with MCP or a terminal
Version 1.1.0 · 17 files
Vink with your API
Vink, your AI agent, works with your API
Give Vink the OpenAPI specification of your own software. Vink looks things up by itself, and only changes something once a colleague approves.
- Paste, upload or fetch the specification
- For each action, you choose what Vink may do itself
- For each field: from Vink, fixed or from the conversation
What Vink needs from your API
- Specification
- OpenAPI 3.0 or 3.1, in JSON or YAML
- Authentication
- API key, Bearer or Basic
- Looking things up
- Vink does this itself
- Making changes
- Only after a colleague approves
For example, at a service company
Via your API: Sven is free at 15:30.
Suggestions
Works with
Not everything has to be code
Automations also talk to your own systems, with HTTP steps and incoming webhooks. Or connect without code using Make, Zapier or n8n.
Automations
HTTP steps, incoming webhooks and waiting for a webhook.
Vink, your AI agent
Looks things up in your software and makes changes after approval.
Make
Visual scenarios with your other software, without code.
Zapier
Zaps with your other software, without code.
n8n
Workflows without code, also on your own server.
All integrations
Native integrations with the software you already use.
Customer story · Gold and precious metals buying
Own CRM and checkout system connected with a single webhook
1
Integration
One secure webhook connects the Cockpit to WhatsApp
- 9 AutomationsFrom request confirmation to gold alert: the entire customer journey runs by itself
- 0 Extra systemsThe team simply keeps working in its familiar Cockpit screen
Frequently asked questions
What developers want to know
Question not listed? Just WhatsApp us.
Where can I find the API documentation?
In your workspace. After you log in, the full reference and the OpenAPI specification (JSON) are under Settings › API & webhooks. Want to take a look first without an account? Book a demo and we'll show you.
Log in to the appWhich plan do I need for the API?
Accelerator, or the separate module. API and webhooks is included in Accelerator; on Start and Growth you add the module for €29 per month, excl. VAT, and you can cancel any month.
See pricingCan I also use Instagram, Messenger and email through the API?
Yes. Messages go out through every channel in your workspace. On Instagram and Messenger you can only reply to a customer who wrote first, and without message templates.
Instagram messages via the APIHow does the WhatsApp 24-hour window work?
Within 24 hours of your customer's last message, you can send any kind of message. Outside that window, and for a first message to a new number, you send a message template approved by Meta. For each conversation, channel_states shows whether the window is open.
Is there a hosted MCP server?
No. The MCP server runs locally from the AI kit, on your own computer and with an API key from your workspace. That's how Claude Code, Claude Desktop, Codex and Cursor work with your customer conversations.
Go to the AI kitHow do I stop a message from being sent twice?
With an Idempotency-Key on every POST. If you send the same key again within 24 hours, you get the first response back and nothing goes out twice.
How many requests can I make?
250 per minute per API key. Go over that and you get a 429, with Retry-After telling you how long to wait.
What does a WhatsApp message via the API cost?
You pay WhatsApp message costs directly to Meta. The API itself is included in Accelerator, or costs €29 per month as a separate module.
Get to know us
Build your first integration today
Book a free demo and we'll walk through the API with you.
30-minute demo · no obligation · cancel any month
Prefer to ask a question first?WhatsApp us
94% appointments scheduled at Mulder VastgoedonderhoudRead the customer story
Learn more
The CommuniQate WhatsApp API
What the API is, how it relates to Meta's WhatsApp Business API, and what it costs.
Updated on
What is the CommuniQate WhatsApp API?
The CommuniQate WhatsApp API is a REST API for sending and receiving messages from your own software via WhatsApp, Instagram, Messenger and email. You work with conversations, messages, contacts, message templates and webhooks, on one base URL per workspace, with a specification in OpenAPI 3.1.
With it you can build, for example, an appointment confirmation from your planning software, a notification in your CRM as soon as a customer replies, or your own screen for customer conversations. Meanwhile, your team simply works in the same conversations in the CommuniQate inbox.
How is it different from Meta's WhatsApp Business API?
The WhatsApp Business API, part of the WhatsApp Business Platform (Cloud API), is Meta's own interface. If you build on it directly, you handle the number, the message templates, the webhooks and the storage of conversations yourself. CommuniQate is an Official WhatsApp Business Partner and adds one API for several channels on top, with a Team inbox, Vink, your AI agent, and Automations included.
The WhatsApp Business API explainedHow do WhatsApp webhooks work in CommuniQate?
A webhook is a notification that CommuniQate sends to your own https address as soon as something happens, such as a new message or a changed status. You choose which of the seven events to subscribe to. Every delivery is signed with HMAC-SHA256, and whatever fails, CommuniQate retries up to six times, until 24 hours later.
What is MCP and what does the AI kit do?
MCP, the Model Context Protocol, is an open standard that lets an AI assistant use the tools of other software. The CommuniQate AI kit contains an MCP server that runs locally on your computer. With it, Claude Code, Claude Desktop, Codex and Cursor search your customer conversations, suggest replies and send messages, with a test mode and a colleague for custom work.
Go to the AI kitWhat does the CommuniQate API cost?
The API and webhooks module is included in the Accelerator plan, for €249 per month. On Start and Growth you add the module for €29 per month. All prices are excl. VAT and you can cancel any month. You pay WhatsApp message costs directly to Meta.
See pricing