Skip to content
Book a demo

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.

  1. Create an API key under Settings › API & webhooks
  2. Pick your channel and an approved message template
  3. Send, and follow the status via a webhook

For example, at an orthodontist

Confirm appointment
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" }
      ] }]
    }
  }
}
EOF

API 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.

Base URLhttps://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

MethodPathWhat it does
GET/conversationsConversations, newest first, with filters
POST/conversationsFirst 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

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: true
  • One clear limit

    250 requests per minute per key. Go over it, and Retry-After tells you how long to wait.

    429 rate_limited
  • Permissions per key

    14 scopes. A key only sees what its creator may see in the app, and you can revoke it instantly.

    messages:write
  • Errors 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_failed
  • Status per message

    Every outgoing message goes from pending to sent, delivered and read, or to failed. A status only moves forward.

    pending · sent · delivered · read
  • On 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
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

EventWhen
messages.inboundA customer sends something, on any channel
messages.outboundSomething goes out: from a colleague, the API, an automation, a campaign or the WhatsApp Business app
messages.status_updatedA message was sent, delivered, read, failed, cancelled or deleted
templates.createdA template was added
templates.status_changedMeta approves, rejects, pauses or disables a template
templates.category_changedA template's category has changed
templates.deletedA 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
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)
  • 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.

  1. First attempt
  2. +1 minattempt 2
  3. +5 minattempt 3
  4. +30 minattempt 4
  5. +2 hoursattempt 5
  6. +8 hoursattempt 6
  7. +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.

Tools of the MCP server

  • cq_gesprekkenSearch conversations, including who's waiting for a reply
  • cq_gesprekOne conversation with the latest messages
  • cq_nieuwNew incoming messages
  • cq_stuurMessage in a conversation, within 24 hours
  • cq_stuur_sjabloonSend an approved message template
  • cq_doorzettenHand a question over to a colleague
  • cq_opvolging_plannenSchedule a follow-up
  • cq_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
Meet Vink

For example, at a service company

  • 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
Der Goldmann NordhornRead the customer story

Frequently asked questions

What developers want to know

Question not listed? Just WhatsApp us.

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 app

Which 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 pricing

Can 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 API

How 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 kit

How 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 explained

How 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 kit

What 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