API keys are available on paid plans when the api_keys feature is enabled for your organization. Admins create and revoke keys under Settings → API Keys.
Create an API key
- Go to Settings → API Keys
- Click Create API key
- Enter a name, choose a role (
admin,editor, orviewer), and optionally set an expiry - Copy the key immediately — Zwiron stores only a hash afterward
zk_ prefix (for example zk_a1b2c3…). The UI also shows a short prefix so you can recognize the key later without seeing the full secret.
Authenticate requests
Send the key as a Bearer token:Manage keys
Rotate by creating a new key, updating clients, then deleting the old key.
Security
- Store keys in a secrets manager — never commit them to source control
- Prefer short-lived keys for contractors and CI jobs
- Revoke immediately if a key may have leaked
- Use Agent mode + local credentials for database secrets; API keys authenticate the control plane, not your source databases
Related
- Webhooks — push events to your systems
- Team — human roles and invites
- Audit logs — key create/delete events
- Billing — plan limits