Skip to content

Authentication

All API requests require a bearer token in the Authorization header:

Authorization: Bearer brk_your_api_key_here

API keys use the brk_ prefix followed by 48 hex characters. Keys are hashed with SHA-256 before storage — the plaintext is shown exactly once at creation.

Each API key can be restricted to specific scopes. An empty scopes array grants full access.

ScopeAccess
leads:readList and view leads
leads:writeCreate, update, and archive leads
appointments:readList and view appointments
appointments:writeCreate, update, and cancel appointments
tasks:readList and view tasks
tasks:writeCreate, update, and cancel tasks
conversations:readView conversation threads and messages
messages:writeSend SMS messages (compliance-checked)
org:readView organization configuration
OperationLimitWindow
Read (GET)60 requestsPer minute, per API key
Write (POST/PUT/DELETE)30 requestsPer minute, per API key

When rate limited, the API returns 429 with retryable: true:

{
"error": {
"code": "rate_limit_exceeded",
"message": "API read rate limit exceeded (60/min). Try again shortly.",
"retryable": true
}
}