GET /v1/health with your API key as a bearer token:
GET /v1/tenant answers for any valid key and tells you its tenant and stage.
One key per stage
- A key creates, sends, reads and lists documents of its own stage only; documents of another stage answer as if they did not exist. A test key never reads production documents.
- Keys issued earlier with the
cfa_test_prefix keep working as test keys. - A partner key creates no documents and reads no configuration or secrets: it works only
under
/v1/partner.
Managing keys
Issue and revoke keys on the console’s Keys page, or over the API withGET/POST /v1/tenant/api-keys and DELETE /v1/tenant/api-keys/{key_id}. Over the API a key
issues keys of its own stage only (403 stage_not_allowed for another one). A key is shown
once, when it is issued: only a hash is kept, so store it right away. A request cannot revoke the key it is
authenticated with (409 cannot_revoke_current_key).
There is no password confirmation over the API: a test key can configure the tenant’s
certificate and promote it to production, so keep it like a password. Every configuration
write made with a key is recorded in the tenant’s audit log with the key’s id as the actor,
never a secret value.
Missing or wrong key
A missing or wrong key answers401 and uses no rate limit quota: