OpenAPI 3.1.02026-08-142324681.8 MB

b97119cb9f42

OAuth

Start CLI OAuth flow

Start the CLI OAuth flow and obtain the authorization URL where the user grants access.

post/public/v2/oauth/authorize/

Headers

Idempotency-Keystring

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Request body

redirect_uristring required
code_challengestring required
code_challenge_method'S256' required
statestring required

Response

OK

authorization_urlstring required