Request access tokens

This endpoint allows requesting an access token following one of the flows below:

  • Authorization Code (exchange code for access token)
  • Refresh Token (exchange refresh token for a new access token)

The table below indicates the required parameters for each specific grant_type options. Empty cells indicate a parameter is ignored for that specific grant type.

Client authentication: Confidential clients should authenticate using HTTP Basic Authentication, where the username is the client_id and password is the client_secret.

Authorization codeRefresh token
grant_typeauthorization_coderefresh_token
coderequired
redirect_urioptional
refresh_tokenrequired
Language
Credentials
Header
URL