X

Xero CLI

CLI discovered

Details
Command
xero
Docs
https://github.com/XeroAPI/xero-command-line
Authentication
Xero OAuth 2.0 app client credentials oauth2 discovered Set up OAuth ↗
$ xero login

In the Xero Developer app manager, create an OAuth 2.0 app to get a Client ID and, for confidential apps, a Client Secret. Configure your redirect URI(s) there. For CLI PKCE usage, create a PKCE app and set the redirect URI to http://localhost:8742/callback. For user-authorized API access, follow the OAuth 2.0 authorization flow guide.