Unlock developer mode
You need thedeveloper.manage_tokens permission to see and manage tokens. It’s a new permission that a tenant admin has to grant you:
Ask an admin
They go to System Settings → Roles, open your role, check Manage API Tokens under Developer, and save.
Create a token
Open API Keys
Go to System Settings. Scroll to the Developer API banner and click Open API Keys. Direct URL: app.keebai.com/system-settings/api-keys.
Name it
Give the token a descriptive name. It saves you headaches later when you have many active tokens. Examples:
Zapier production, n8n nightly sync, Local dev.Pick the scopes
Check only the permissions the token actually needs. Only the permissions your own user has are shown.
Set expiration (optional)
We recommend 90 days. After that date the token stops working and you mint a new one. Leave it blank for no expiration.
Token anatomy
Tokens look like this:kbai_pk_prefix — identifies the Keebai format. Secret-scanning tools (GitHub secret scanning, gitleaks) recognize it automatically if the token ever lands in a public repo.- 64 hex chars — 32 bytes of entropy (256 bits). Not predictable.
List and audit your tokens
The API Keys table shows every token you’ve created (active and revoked):| Column | Meaning |
|---|---|
| Name | Whatever you typed at creation. |
| Prefix | First 12 chars (kbai_pk_a1b2). Lets you ID it without exposing the secret. |
| Scopes | Permissions assigned to the token. |
| Last used | Timestamp of the last successful request. Helps spot abandoned or suspicious tokens. |
| Expires | Expiration date, or Never if not set. |
| Status | Active, Expired, or Revoked. |
Revoke a token
If you suspect a leak, or you don’t need the token anymore:Best practices
- One token per integration. Zapier + a local script + an internal cron? Three separate tokens. If one leaks, revoke just that one.
- Rotate every 90 days. Even without an incident — mint the new one, update integrations, revoke the old.
- Never on the client. These tokens are backend-to-backend. Don’t ship them inside a mobile app, a public SPA, or anything a user can inspect.
- Proper storage. Secrets managers (AWS Secrets Manager, 1Password, GitHub Actions secrets, Vault) — never config files committed to the repo.
- Watch Last used. Token marked unused for months? Revoke it. Token active outside of expected hours? Investigate.
Limits
- Up to 10 active tokens per user. Hit the limit? Revoke one before creating a new one. Need more? Email support@keebai.com.
- Revoked tokens don’t count toward the limit.