Skip to content
Browse the help center

Public API overview

Use ChatFlow GO's REST API to send WhatsApp messages, manage contacts, read conversations and launch broadcasts from your own systems.

3 min read

ChatFlow GO's public REST API lets your own code do what your team does in the dashboard: send WhatsApp messages, create and update contacts, read conversations and launch broadcasts. Use it to connect ChatFlow GO to your store, booking system, CRM or internal tools. Combine it with outgoing webhooks to react to new messages in real time.

Requirements

  • The API is included in the Growth (up to 10 API keys) and Scale (unlimited keys) plans. See Plans and pricing.
  • An Owner or Admin creates API keys in Settings → API keys. See Create and manage API keys.
  • A connected WhatsApp number, for any endpoint that sends messages.

Base URL

Every endpoint lives under /api/v1 on your workspace address:

https://your-workspace.chatflowgo.com/api/v1

Replace your-workspace with your workspace's subdomain. The examples in these docs use acme.chatflowgo.com.

Authentication

Send your API key as a bearer token in the Authorization header of every request:

curl https://acme.chatflowgo.com/api/v1/me \
  -H "Authorization: Bearer wacrm_live_xxxxxxxxxxxxxxxx"

ChatFlow GO API keys start with wacrm_live_. Each key belongs to exactly one workspace and can only act on that workspace's data.

GET /api/v1/me needs no scope, so it is the easiest way to check a key works:

{
  "data": {
    "account": { "id": "…", "name": "Acme Inc" },
    "key": { "id": "…", "scopes": ["messages:send"] }
  }
}

Scopes

A key can only do what its scopes allow. Grant the minimum each integration needs.

ScopeAllows
messages:sendSend WhatsApp messages
messages:readRead messages and their delivery status
contacts:readList and read contacts
contacts:writeCreate and update contacts
conversations:readList and read conversations
broadcasts:sendLaunch broadcasts and read their progress
webhooks:manageRegister and manage outgoing webhooks

Endpoints

Method and pathScopePurpose
GET /menoneCheck a key and see its scopes
POST /messagesmessages:sendSend a text, media or template message
GET /contactscontacts:readList contacts
POST /contactscontacts:writeCreate a contact (find-or-create by phone)
GET /contacts/{id}contacts:readRead one contact
PATCH /contacts/{id}contacts:writeUpdate a contact
GET /conversationsconversations:readList conversations
GET /conversations/{id}conversations:readRead one conversation
GET /conversations/{id}/messagesmessages:readList a conversation's messages
POST /broadcastsbroadcasts:sendLaunch a broadcast
GET /broadcasts/{id}broadcasts:sendBroadcast status and counts
GET, POST /webhookswebhooks:manageList or register webhook endpoints
GET, PATCH, DELETE /webhooks/{id}webhooks:manageManage one webhook endpoint

See Contacts and messages API for examples.

Response format

Every response is JSON in one of two shapes:

{ "data": { } }
{ "error": { "code": "forbidden", "message": "This API key is missing the 'messages:send' scope" } }

Branch on error.code, which is stable. error.message is for humans and may change.

StatuscodeMeaning
400bad_requestThe request body or parameters are invalid
401unauthorizedThe key is missing, malformed, unknown, revoked or expired
402plan_limitYour plan does not include the API, or the trial or subscription has ended
403forbiddenThe key is valid but lacks the required scope
404not_foundNo such resource in your workspace
429rate_limitedToo many requests for this key
500internalSomething went wrong on our side

Some endpoints add their own codes. For example, sending can return whatsapp_not_configured (400) or meta_error (502) when Meta rejects the message.

Rate limits

Each key can make 120 requests per minute. A 429 response includes headers telling you when to try again:

  • Retry-After: seconds until you can retry
  • X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset

For large sends, use POST /broadcasts with up to 1,000 recipients per request instead of one POST /messages per person.

Pagination

List endpoints return up to 50 items by default. Set ?limit= up to 100. To get the next page, pass the meta.next_cursor value from the previous response as ?cursor=:

curl "https://acme.chatflowgo.com/api/v1/contacts?limit=100" \
  -H "Authorization: Bearer wacrm_live_xxx"
# → { "data": [ … ], "meta": { "next_cursor": "eyJ…" } }

curl "https://acme.chatflowgo.com/api/v1/contacts?limit=100&cursor=eyJ…" \
  -H "Authorization: Bearer wacrm_live_xxx"
# → { "data": [ … ], "meta": { "next_cursor": null } }

Pass the cursor back exactly as you received it. next_cursor: null means you have reached the last page.

WhatsApp rules still apply

The API sends through Meta's WhatsApp Business Platform. A free-form message only reaches someone who messaged you in the last 24 hours. Outside that window, send an approved template. See The 24-hour customer service window.

Next steps

Was this page helpful?

Still need help?

Our team answers every message.

Contact support