X-API-Key header. You manage keys from the admin dashboard and can revoke them at any time.
Scopes
Each key has one of two scopes:| Scope | Permissions |
|---|---|
full_access | Read and write — can query transactions, update categories, create rules, and submit agent reports |
read_only | Read only — can query accounts, transactions, and balances, but cannot modify any data |
read_only keys for AI agents unless the agent specifically needs to categorize transactions or create rules. This limits the blast radius if a key is ever exposed.
Generate a key from the dashboard
Create a new key
Click Create API Key. Enter a descriptive name — for example,
Claude Agent or Home Budget Script — then click Generate Key.Key format
Every API key starts with thebb_ prefix followed by a random string of characters, for example:
Use a key in requests
Pass the key in theX-API-Key header on every request:
Create a key from the CLI
If you prefer to create keys without the dashboard — for example, in a setup script — use theapi-keys subcommand:
Revoke a key
To revoke a key, go to Settings → API Keys in the dashboard, find the key by its name or prefix, and click Revoke. Revocation takes effect immediately — any in-flight request using that key returns a403 Forbidden error.
Best practices
- Use a separate key for each client or agent so you can revoke access for one without affecting others.
- Prefer
read_onlykeys for AI agents unless they need to write data. - Rotate keys periodically, especially after personnel changes or suspected exposure.
- Never commit a key to version control. If you accidentally push a key, revoke it immediately and generate a replacement.