Authentication
How to authenticate with the Cara API.
API Keys
The Cara API uses API keys for authentication. Each key is scoped to your tenant and has one of two modes:
| Key type | Prefix | Purpose |
|---|---|---|
| Test | sk_test_ | Safe for development. Rate-limited. Hits staging environment. |
| Live | sk_live_ | Production access. Higher rate limits. |
Getting your keys
- Log in to the Cara platform.
- Navigate to Settings → API Keys (or use the Credentials page in these docs).
- Click Create API Key and choose test or live mode.
- Copy the key immediately — it is only shown once.
Using your key
Include your API key in the Authorization header as a Bearer token:
Key scopes
API keys can be scoped to specific resources:
patients:read— Read patient datapatients:write— Create and update patientsforms:read— Read form templates and submissionsforms:write— Create and manage formsscheduling:read— View appointments and availabilityscheduling:write— Book and manage appointmentsemails:read— View email templates and sequencesemails:write— Send emails and manage sequences
Rate limits
| Key type | Requests per hour | Requests per day |
|---|---|---|
Test (sk_test_) | 100 | 1,000 |
Live (sk_live_) | 10,000 | Unlimited |
When you exceed the rate limit, the API returns a 429 Too Many Requests response with a Retry-After header indicating when you can retry.
Revoking keys
You can revoke API keys at any time from the platform settings or the Credentials page. Revoked keys immediately stop working.