Before you start
- A Keebai account at app.keebai.com.
- The
developer.manage_tokenspermission on your role. If your account doesn’t show API Keys, ask your tenant admin to grant it under System Settings → Roles. - At least one WhatsApp channel connected and one template approved by Meta.
- Anything that speaks HTTP —
curl, Postman, Insomnia, or your favorite SDK.
1. Create a token
1
Open API Keys
Go to System Settings → API Keys in the dashboard: app.keebai.com/system-settings/api-keys.Not seeing it? Your role is missing
developer.manage_tokens. Ask an admin.2
Create a new key
Click Create API Key. Three fields:
- Name — anything descriptive.
Sales backend,Nightly reports,Local dev. - Permissions (scopes) — only the ones the token will actually use. For this quickstart, pick
messages:sendandtemplates:read. - Expiration (optional) — we recommend 90 days. Leave blank for no expiry.
3
Copy the token
Keebai shows the token once. Format:
kbai_pk_<64 hex chars>.2. List your approved templates
To send a template you need itstemplate_name, language, and variable names. Pull them with GET /v1/templates:
3. Send your first message
Grab thephone_number_id of your channel from GET /v1/whatsapp/numbers, then call POST /v1/messages with a template message:
4. If something breaks
5. Where to next
TypeScript SDK
Skip writing HTTP by hand — use the typed client.
CLI
keebai login and keebai whatsapp messages send from your shell.Manage tokens
Create, list, revoke, and rotate tokens.
Scopes
What each scope does and when to use it.
Bulk send
Send the same template to thousands of recipients and track status.
OpenAPI spec
Swagger UI with every endpoint, schema, and example.