GET /v1/health needs an API key, sent as a bearer token:
401 invalid_key.
Keys
- One partner per key. A key always acts for the partner it was issued to; there is no header to choose a partner. Another partner’s claims return
404 not_found.GET /v1/meshows the partner aspartner, with itsid,nameandtype. - One integration per key. Each key is issued for one integration or system.
- Shown once. OSA stores only a fingerprint of the key. Keys are delivered through a one-time, expiring link and are never sent by plain email. If a key is lost, ask OSA for a new one.
- Rotation. Ask OSA for a replacement key; both keys work while you switch over, then the old one is revoked.
- Revocation takes effect within about a minute.
- Expiry. A key does not expire unless an expiry date was agreed when it was issued.
- IP allowlist. On request, a key can be limited to your servers’ IP addresses. A request from any other address gets
401 invalid_key, the same response as an unknown key.
Permissions
Each operation needs a permission (scope). A key’s permissions are set when it is issued and can be changed by OSA on request, never beyond what your plan and add-ons include.GET /v1/me always shows the current set, as scopes.
A valid key without the needed permission gets
403: not_in_plan when the operation is not included in your organisation’s plan and add-ons (whatever the key holds), otherwise insufficient_scope when the key itself doesn’t have the permission.