O
Omni CLI
Details
- Command
-
omni - Docs
- https://docs.omni.co/developers/cli
Authentication
OAuth 2.0 oauth2 discovered
$ omni config login Acquired by the CLI — running omni config login opens the auth flow and stores the credential.
$ omni config init Create a token in Omni using the easiest path described in API authentication. For an organization-wide key, an Organization Admin goes to Settings > API access > Organization keys and clicks Generate new key. For a user-scoped PAT, first have an admin enable Settings > API access > Personal tokens, then the user opens Profile > Manage account > Generate token. Use the resulting token as Authorization: Bearer <token>.