Skip to main content

Bearer Token Authentication

All API requests must include a valid API key in the Authorization header:

API Key Format

API keys follow the pattern:

Managing API Keys

Create a Key

Create API keys from the Dashboard or via the API:
The full API key is only shown once at creation time. Store it securely — you cannot retrieve it later.

Rotate a Key

To rotate a key, create a new one, update your application, then delete the old key.

Delete a Key

Permissions

Each API key can be scoped with fine-grained permissions: When no permissions are set, the key has full access to all providers and types.

Security Best Practices

Never hardcode API keys in your source code.
Add .env to your .gitignore file. If a key is accidentally committed, rotate it immediately from the Dashboard.
Create separate keys for different environments and services. Scope each key to only the providers and types it needs.
Use spendLimit to cap usage per key and prevent unexpected charges.

Error Responses