GET /v1/ping. You need to be an owner or admin of a Cybreeze organization: a key calls the API as the whole organization, with no session and no second factor, so minting one is an administrative act and members do not see the page.
1
Create an API key
In the Cybreeze app, open Settings → API keys and create a key. Label it after the place it will be used, such as
ci-pipeline or erp-sync.The secret is returned once, in the response that creates it, and is stored nowhere on our side. Cybreeze keeps only the key id, your label, the first eight characters and who created it, so a lost key is replaced, never recovered.2
Give the key about 45 seconds
A new key takes roughly 45 seconds to reach the gateway. Call it sooner and you get
401 invalid_api_key, which is the same answer a revoked key gets.3
Call the ping endpoint
Send the key in the
x-api-key header on every request.4
Read the response
organizationId is the organization the key belongs to. Every call made with this key is scoped to it, so this value is the one thing worth asserting in a smoke test.A
200 here proves the key is live, the gateway accepted it, and Cybreeze resolved it to your organization. If you get 401 instead, read Errors: the body says which of those three failed.What to read next
Authentication
Key lifecycle, the twenty-key ceiling, disable against delete.
Rate limits and quotas
What your organization is allowed per second and per day.
GET /v1/ping
The endpoint reference, with a playground.