Authentication
Firmium uses Bearer tokens. Send a valid token in theAuthorization header on every API request.
Setup
- Create an API key (Bearer token) in the Firmium dashboard.
- Attach it to your requests.
Header
Token format
- The token is an opaque string issued by Firmium.
- Treat it like a password — store it securely and do not share it.
Example request
Errors
401 Unauthorized
403 Forbidden
Best practices
- Storage: Keep tokens out of git.
- Rotation: Rotate and revoke unused tokens.
- Errors: Handle 401/403 explicitly.
- Rate limits: Back off when you hit rate limits.

