Authentication
Bearer tokens, key rotation and revocation
API reference · Code and response examples
Authorization header
Send a Bearer token with each request. Use a server-side integration so your key is not exposed to visitors.
HTTP header
Authorization: Bearer YOUR_API_KEYKey lifecycle
- Create: generate the first key from your workspace.
- Rotate: replace the key, then update your integration.
- Revoke: disable the key when it is no longer needed.
Pro supports one active key; Max supports ten. Keys are shown once and stored as hashes. Replacement revokes the old key immediately, without a grace period.
Authentication failures
401 · application/json
{
"error": "UNAUTHORIZED"
}Check the key before retrying. Manage your API keys →