Overview
The Enterprise API v2 uses API key authentication. All requests must include a valid API key in theAuthorization header using the Bearer token format.
API Key Format
API keys are prefixed strings:- Live keys:
tavrn_sk_live_...
Making Authenticated Requests
Include your API key in every request:Permission Scopes
Each API key is created with specific permission scopes that control access to resources:
Use an API key with
retrievals:write to create retrievals. An inline requestor also
requires requestors:write, and an inline case also requires cases:write.
See Select a Requestor.
Managing API Keys
API keys are managed through your organization dashboard:- Navigate to your dashboard → Settings → API Keys
- Click “Create API Key”
- Select permission scopes
- Copy and securely store the generated key (shown only once!)
Security Best Practices
Never Expose Keys
- Never commit API keys to version control
- Never include keys in client-side code
- Use environment variables for key storage
Secure Storage
Key Rotation
- Rotate keys periodically (recommendation: every 90 days)
- Rotate immediately if a key is compromised
- Test new keys before deactivating old ones
Scope Restriction
- Use the minimum required scopes for each key
- Create separate keys for different integrations
- Use
readscopes wherewriteisn’t needed