Authorization header.
Quick Start
Pass your API key with aBearer prefix:
API Key Format
| Component | Description |
|---|---|
| Prefix | ex_live_ identifies keys as live production keys |
| Display | After creation, keys are shown as ex_live_...AbCd (last 4 characters visible) |
| Storage | Keys are hashed and cannot be recovered—store your key securely after creation |
Generate an API Key
Or use the API to create keys programmatically—see Create API Key.
Making Authenticated Requests
Include theAuthorization header in every request:
Expiration
API keys can be created with an optional expiration viaexpires_in_days. When a key expires:
- Requests using the key receive a
401 Unauthorizedresponse - The key cannot be renewed—create a new key instead
- Expired keys remain visible in the dashboard for audit purposes
Rate Limiting
API keys are rate-limited to protect the platform and ensure fair usage.| Aspect | Details |
|---|---|
| Scope | Limits apply per API key |
| Response | 429 Too Many Requests when exceeded |
| Retry | Check the Retry-After header for seconds until reset |
Error Responses
| Status | Cause | Resolution |
|---|---|---|
401 Unauthorized | Missing Authorization header | Add Authorization: Bearer YOUR_API_KEY |
401 Unauthorized | Invalid header format | Ensure header starts with Bearer (with space) |
401 Unauthorized | Key is invalid, expired, or revoked | Generate a new key or verify the key value |
403 Forbidden | Key lacks permission for the resource | Use a key with appropriate access |
429 Too Many Requests | Rate limit exceeded | Wait and retry after Retry-After seconds |
Security Best Practices
Use environment variables
Store keys in
EXANTE_API_KEY environment variable, never in source codeRotate regularly
Create new keys and revoke old ones periodically
Use minimal scope
Create separate keys for different integrations
Monitor usage
Review key activity in the dashboard
Managing API Keys
Use these endpoints to manage keys programmatically:Create key
Generate a new API key
List keys
View all keys for your organization
Revoke key
Deactivate a key immediately