auth

OAuth 2.0 token endpoint

Changed on

Exchanges an authorization code for an access token, or a refresh token for a new one. Part of the OAuth 2.0 Authorization Code flow with PKCE. Needs no authentication: the grant itself is the credential.

post/oauth/token

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/token
  • Auth
    none declared

Request body

client_idstring
codestring
code_verifierstring
grant_typestring
redirect_uristring
refresh_tokenstring

Response

The access token, its type, lifetime and refresh token.

access_tokenstring
expires_ininteger
refresh_tokenstring
token_typestring

Changes