O
OnlineOrNot CLI
Details
- Command
-
onlineornot - Docs
- https://onlineornot.com/docs/reference/cli-commands
Authentication
OAuth 2.0 oauth2 discovered
$ onlineornot login Acquired by the CLI — running onlineornot login opens the auth flow and stores the credential.
env ONLINEORNOT_API_TOKEN In the OnlineOrNot dashboard, open API token creation or go via the API token docs at How API tokens work. Create a token for one organisation, choose the needed READ or EDIT permissions and an expiration, then copy the secret when it is shown; OnlineOrNot does not show the raw secret again later. Send it as Authorization: Bearer <token>. For CLI automation, set ONLINEORNOT_API_TOKEN.
$ onlineornot login Create an API token in the OnlineOrNot dashboard. Grant only the READ or EDIT permissions needed for the API, MCP, or CLI operation. Treat the token as a secret.