auth

OAuth 2.0 authorize endpoint

Changed on

Creates an authorization code for an OAuth 2.0 client on behalf of the authenticated user. PKCE is required. API tokens cannot be used to authorize a client.

post/oauth/authorize

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/oauth/authorize
  • Auth
    API key in header Authorization

Request body

client_idstring
code_challengestring
code_challenge_methodstring
redirect_uristring
response_typestring
statestring

Response

The authorization code and the redirect URI to return it to.

codestring
redirect_uristring
statestring

Changes