API authentication
Updated Apr 5, 2026 · 4 min read
Generate API keys, scope permissions, rotate, revoke.
On this page · 4
- Generate a key
- Authentication header
- Scopes
- Rotation and revocation
Inboxlee exposes a REST API at https://api.inboxlee.com. Auth is bearer-token via API keys you generate in your workspace settings.
Generate a key
Settings → API keys → Create new key. Choose a name (used in audit logs), select the scopes the key needs, set an optional expiration. The key is shown once - copy it immediately.
Authentication header
Authorization: Bearer inbl_live_xxxxxxxxxxxxxxxx
Send the header on every request. Live keys start with inbl_live_; test keys (for staging) start with inbl_test_.
Scopes
Rotation and revocation
Rotate keys at least quarterly. Revoke any key that was leaked or is no longer needed. Revocation is immediate; in-flight requests using the revoked key will fail with 401.