Authentication
Firmium uses API keys. Send a valid key in theAuthorization header on every API request, prefixed with Token.
Setup
- Create an API key in the Firmium dashboard under API / Schnittstelle. The full key is shown only once, at creation.
- Attach it to your requests.
- To revoke a key, delete it in the same dashboard section. Deleted keys stop working immediately.
Header
Note: The scheme isToken, notBearer.
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 with403 Forbidden. Keys from a plan without API access are rejected the same way. The response body contains a detail message:
Best practices
- Storage: Keep keys out of git.
- Rotation: Rotate keys and delete unused ones.
- Errors: Handle 403 explicitly.
- Rate limits: Back off when you hit rate limits.

