Omni Developers

Authentication

Create and safely use scoped personal access tokens for the Omni Developer Preview.

Developer integrations authenticate with a scoped personal access token created at omni.channel/dev/keys.

Authorization: Bearer $OMNI_API_KEY

Create a token

  1. Sign in to Omni and open API Keys.
  2. Choose the Developer Preview profile.
  3. Give the token a name describing its environment or agent.
  4. Copy the secret when it appears. It is shown only once.
  5. Store it in a secret manager or local environment variable—not source control.
export OMNI_API_KEY="omni_sk_live_..."
ScopeWhat it permits
profile:readRead the authenticated public identity
workspace:readDiscover accessible workspaces
chat:writeCreate stateful tasks
chat:readRead tasks, events, and workspace history
files:writeReserve, upload, and complete encrypted files
files:readList files and storage quota
files:deleteDelete files
vault:writeRegister uploaded knowledge with Vault
vault:readRead Vault state and attach ready files

Missing permission returns 403 insufficient_scope. Resource authorization is still evaluated for every request; possessing a scope does not grant access to another user's workspace or file.

Revoke and rotate

Create a replacement token, update the consuming application, verify it, and then revoke the old token from /dev/keys. A revoked token returns 401 unauthorized.

Keep tokens secret

Treat a PAT like a password. Never put it in browser-delivered code, logs, screenshots, examples, or a Git repository.

On this page