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.
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.
| Scope | Allows |
|---|---|
messages:send | Send WhatsApp messages |
messages:read | Read messages and their delivery status |
contacts:read | List and read contacts |
contacts:write | Create and update contacts |
conversations:read | List and read conversations |
broadcasts:send | Launch broadcasts and read their progress |
webhooks:manage | Register and manage outgoing webhooks |
Endpoints
| Method and path | Scope | Purpose |
|---|---|---|
GET /me | none | Check a key and see its scopes |
POST /messages | messages:send | Send a text, media or template message |
GET /contacts | contacts:read | List contacts |
POST /contacts | contacts:write | Create a contact (find-or-create by phone) |
GET /contacts/{id} | contacts:read | Read one contact |
PATCH /contacts/{id} | contacts:write | Update a contact |
GET /conversations | conversations:read | List conversations |
GET /conversations/{id} | conversations:read | Read one conversation |
GET /conversations/{id}/messages | messages:read | List a conversation's messages |
POST /broadcasts | broadcasts:send | Launch a broadcast |
GET /broadcasts/{id} | broadcasts:send | Broadcast status and counts |
GET, POST /webhooks | webhooks:manage | List or register webhook endpoints |
GET, PATCH, DELETE /webhooks/{id} | webhooks:manage | Manage 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.
| Status | code | Meaning |
|---|---|---|
| 400 | bad_request | The request body or parameters are invalid |
| 401 | unauthorized | The key is missing, malformed, unknown, revoked or expired |
| 402 | plan_limit | Your plan does not include the API, or the trial or subscription has ended |
| 403 | forbidden | The key is valid but lacks the required scope |
| 404 | not_found | No such resource in your workspace |
| 429 | rate_limited | Too many requests for this key |
| 500 | internal | Something 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 retryX-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?