Skip to main content

Authentication

Firmium uses API keys. Send a valid key in the Authorization header on every API request, prefixed with Token.

Setup

  1. Create an API key in the Firmium dashboard under API / Schnittstelle. The full key is shown only once, at creation.
  2. Attach it to your requests.
  3. To revoke a key, delete it in the same dashboard section. Deleted keys stop working immediately.
Note: The scheme is Token, not Bearer.

Key format

  • The key is an opaque string issued by Firmium.
  • Firmium stores only a hash of the key and cannot show it again.
  • Treat it like a password: store it securely and do not share it.
  • API access depends on your plan. Requests with a key from a plan without API access are rejected.

Example request

Errors

Requests with a missing, invalid, or revoked key are rejected with 403 Forbidden. Keys from a plan without API access are rejected the same way. The response body contains a detail message:
See Error codes for the full list.

Best practices

  1. Storage: Keep keys out of git.
  2. Rotation: Rotate keys and delete unused ones.
  3. Errors: Handle 403 explicitly.
  4. Rate limits: Back off when you hit rate limits.

Next steps