AvailableUpdated 2026-11-28
Create a workspace API key
Issue a scoped key for monitoring, automation or a future integration.
Workspace API keys are organization-owned credentials. They are hashed at rest, scoped, and can be revoked without removing the person who created them.
Create a key
- 1Open Settings and choose API keys.
- 2Give the key a name that says what uses it, for example Monitoring sync.
- 3Select only the scopes the service needs.
- 4Create the key and copy it immediately. It is shown once.
- 5Store it in the service's secret manager, not in a page or a repository.
Use the key
Send it as a bearer credential. The key can read workspace data and write projects, pages, deployments and domains; `/v1/workspace/me` introspects it without exposing the token.
bash
curl -H "Authorization: Bearer odk_..." \
https://api.example.com/v1/workspace/meScopes
| Scope | Allows |
|---|---|
| workspace:read | Read the workspace identity for the key |
| projects:read / write | Read or change projects |
| deployments:read / write | Read or change deployments |
| domains:read / write | Read, add and verify project domains |
| qa:read / write | Read or run QA scans |
| audit:read | Read audit events |
| monitoring:read | Read monitoring data |
| compliance:read | Read compliance inventory |
Revoke a key
Revoke the key from Settings. Requests using it immediately receive 401. Rotate by creating a new key and removing the old one after the consumer is updated.
Was this page helpful?
