Obtain access token

OAuth 2.0 token endpoint to exchange authorization code for access token, request token with client credentials, or refresh an existing token.

  • Use Authorization Code grant to obtain access token for a Company to use with the Company API.
  • Use Refresh Token grant to obtain a new access token using a refresh token.
  • Use Client Credentials grant to obtain access token for the General API.
Form Data
string
enum
required

The grant type for the token request

Allowed:
string
required

The authorization code received from the authorization server (required for authorization_code grant type)

string
required

The redirect URI used in the authorization request (required for authorization_code grant type)

Responses

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