Organization API keys are created and revoked in Settings → API keys. Both actions require the org:api_keys RBAC permission (held only by org admins) plus CSRF protection, and every mint and revoke is audited.
Create a key
In Settings → API keys → Create, provide:
| Field | Required | Notes |
|---|---|---|
| Name | ✓ | A label to recognise the key later (e.g. “Nightly sync”, “Partner SDK”). |
| Scopes | ✓ | The least-privilege org:* scopes this key needs: org:passes:read, org:passes:write, org:facilities:read, org:members:read, org:members:contact:read. |
| Expiry | Optional date after which the key stops working. Prefer setting one. | |
| IP allowlist | Optional list of source IPs; requests from any other address are rejected. |
Grant only the scopes the integration actually uses. A data-export job needs org:passes:read; it does not need org:passes:write. A directory sync that only maps names to departments needs org:members:read; it does not need org:members:contact:read.
Copy the secret — it’s shown once
On creation the full key is returned exactly once:
eb_sk_live_9f1c2ab34cd56ef7a8b9c0d1e2f3a4b5Copy it immediately into your secret manager. EntryBit stores only a SHA-256 hash and cannot show the key again — if you lose it, revoke it and mint a replacement. Never commit a key to source control, paste it into a client app, or log it.
Revoke a key
In Settings → API keys, revoke any key you no longer trust or need. Revocation takes effect immediately: the next request using that key is rejected with 401. Revoke a key the moment it may have leaked, a teammate with access leaves, or an integration is retired.
Because minting and revoking both require org:api_keys + CSRF and are audited, you get an accountable trail of who created and killed each key.
Rotation
Open the key’s menu and choose Rotate. A new key is created with the same name, scopes, IP allowlist and expiry, and shown once. You choose how long the current key keeps working:
- 24 hours (the default): enough to deploy the new key the same day.
- 7 days: for systems released on a schedule.
- Stop it now: when the current key may have leaked.
The replaced key shows when it stops, and then expires by itself; there is nothing to remember to revoke. Rotation is audited.
Setting an expiry at creation turns rotation into a scheduled habit rather than an afterthought.
See what a key did
Open the key’s menu and choose View activity. Each request made with the key in the last 30 days is listed, newest first: status, method and route, time, source address, duration and request id. Query strings and request bodies are never recorded.
Use it to confirm a new key is carrying traffic before the old one stops, and to notice a key that is used from somewhere it should not be.
Using the key
Once you have the secret, see Authenticating requests for how to send it, and the Organization API for the endpoints it can call.
This page is about API keys (server secrets). Registering an app that signs users in is a different task — see Register an app under Settings → Team → OAuth apps.