Request access token

Request an OAuth access token (and, depending on the grant type, a refresh token).

Supported grant types:

  • client_credentials — pass your client_id and client_secret to receive a new access token and refresh token.
  • refresh_token — pass your client_id and the existing refresh_token to get a new pair of tokens.
  • authorization_code — pass the authCode to get an access token for a specific user. Use this when building your own client.
Form Data
string
enum

The OAuth 2.0 grant type. Use client_credentials to authenticate with a client ID and secret, refresh_token to exchange a refresh token for a new token pair, or authorization_code to exchange an authorization code for tokens.

Allowed:
string

The client application identifier.

string

The client application secret.

string

Use together with grant_type refresh_token.

string

Use together with grant_type authorization_code.

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json