Skip to main content

Authentication

Firmium uses Bearer tokens. Send a valid token in the Authorization header on every API request.

Setup

  1. Create an API key (Bearer token) in the Firmium dashboard.
  2. Attach it to your requests.

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

  1. Storage: Keep tokens out of git.
  2. Rotation: Rotate and revoke unused tokens.
  3. Errors: Handle 401/403 explicitly.
  4. Rate limits: Back off when you hit rate limits.

Next steps