Overview
All Caspen API requests use bearer token authentication. Include your token in theAuthorization header on every call.
Bearer token authentication
Getting your token
- Sign in to the Caspen dashboard as an account owner.
- Go to Settings -> API keys.
- Create a new token and copy it immediately.
- Store the token in a secure secret manager or environment variable.
Implementation tips
- Send requests over HTTPS (TLS 1.2 or higher).
- Never embed tokens in client-side code or logs.
- Use separate tokens for different services or environments to simplify rotation.