Browser-based CLI authorization. After a user logs in via the dashboard, the dashboard calls this endpoint. The server c
POST/api/v1/auth/cli/authorize
Browser-based CLI authorization. After a user logs in via the dashboard, the dashboard calls this endpoint. The server creates a scoped API key, then returns a redirect_url that delivers the key to the CLI via localhost callback. Optionally auto-creates a publishable key if none exists for the org.
Request
Responses
- 200
- default
Success
Error response