Skip to content
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

  1. 1Open Settings and choose API keys.
  2. 2Give the key a name that says what uses it, for example Monitoring sync.
  3. 3Select only the scopes the service needs.
  4. 4Create the key and copy it immediately. It is shown once.
  5. 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/me
Check a key without exposing it

Scopes

ScopeAllows
workspace:readRead the workspace identity for the key
projects:read / writeRead or change projects
deployments:read / writeRead or change deployments
domains:read / writeRead, add and verify project domains
qa:read / writeRead or run QA scans
audit:readRead audit events
monitoring:readRead monitoring data
compliance:readRead 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?