Skip to main content
The Keebai public API connects your CRM, your own backend, automations (Zapier, n8n, Make), or any internal tool to your WhatsApp channels and assistants. Direct, scriptable access — no portal required.

What you get

REST + JSON

Every endpoint accepts and returns JSON. Versioned under /v1/, no silent breaking changes.

Personal Access Tokens

Each user in your tenant can mint their own tokens with scoped permissions and instant revocation.

Granular scopes

Permissions split by messages, templates, channels, and webhooks. Grant only what each integration needs.

Signed webhooks

Events delivered to your URL with HMAC-SHA256, exponential retries, and event_id deduplication.

OpenAPI 3

Auto-generated spec at api.keebai.com/v1/docs-json. Importable into Postman, Insomnia, or any SDK generator.

Official CLI

keebai (npm: @keebai/cli) covers login, channel connect, token management, and messaging — all from your shell.

TypeScript SDK

@keebai/sdk — typed client with full WhatsApp coverage: text, media, interactive, templates, broadcasts.

Agent Skills

Skills for Claude Code, Cursor, Codex, and other AI agents. Your agent sends WhatsApp without you teaching it the SDK.

Base URL

https://api.keebai.com/v1
All public-API routes live under this prefix. The browsable Swagger UI is at api.keebai.com/v1/docs.

Endpoints

Session

MethodPathScopeDescription
GET/v1/meInfo about the active token and its scopes.
DELETE/v1/me/tokenRevoke the current token (server-side logout).

Messages

MethodPathScopeDescription
POST/v1/messages/templatemessages:sendSend an approved template to a recipient.
POST/v1/messages/textmessages:sendSend free text inside the 24h conversation window.
POST/v1/messages/bulkmessages:bulkSend a template to many recipients (up to 5,000).
GET/v1/messages/bulk/:broadcastIdmessages:bulkStatus of a bulk send.

Templates

MethodPathScopeDescription
GET/v1/templatestemplates:readList approved templates for your company.
POST/v1/templatestemplates:createCreate and submit a template to Meta for approval.
PATCH/v1/templates/:idtemplates:updateUpdate components, category, language, or status.

Channels

MethodPathScopeDescription
GET/v1/channelschannels:readList channels, filterable by type.
GET/v1/channels/:idchannels:readGet a single channel.
GET/v1/whatsapp/numberschannels:readDirect view of active phone_number_id values.
POST/v1/channels/whatsapp/connectchannels:connectStart a WhatsApp connection.
GET/v1/channels/whatsapp/connect/:sessionIdchannels:connectPoll the connect session status.

Outbound webhooks

MethodPathScopeDescription
POST/v1/webhookswebhooks:manageCreate a subscription. Returns the secret once.
GET/v1/webhookswebhooks:readList subscriptions.
GET/v1/webhooks/:idwebhooks:readGet a single subscription.
PATCH/v1/webhooks/:idwebhooks:manageUpdate URL, events, headers, or is_active.
POST/v1/webhooks/:id/rotate-secretwebhooks:manageRotate the signing secret.
DELETE/v1/webhooks/:idwebhooks:manageDelete a subscription.
POST/v1/webhooks/:id/testwebhooks:manageFire a synthetic test event.
GET/v1/webhooks/:id/deliverieswebhooks:readDelivery history.
Full details in Webhooks → Overview.

Next steps

Quickstart

From zero to first message in five minutes.

TypeScript SDK

Typed client for Node, edge runtimes, and browsers.

CLI

Login, connect WhatsApp, and send messages from your terminal.

Agent Skills

Skills for Claude Code, Cursor, Codex, and other AI agents.

API keys

How to create, list, and revoke tokens.

Authentication

How to send the token on every request and handle auth errors.

Outbound webhooks

Receive signed events at your endpoint.

Connect WhatsApp

Onboard a new WhatsApp Business channel without the portal.

Roadmap

Planned, no firm dates:
  • Smart templates — map unstructured data into template variables with an LLM.
  • Scheduled messages — schedule and cancel future sends.
  • Tickets — open and update tickets from the API.
  • More webhook eventsconversation.created, conversation.escalated_to_human, instagram.message.received.
Need one of these sooner? Write us at support@keebai.com.