Obtain OAuth 2.0 access token. This endpoint follows the OAuth 2.0 industry-standard protocol for authorization. It performs authorization and returns the access token and refresh token.
To use, pass the grant_type in the form data, which will be:
client_credentials grant type to authenticate with client_id and client_secret.refresh_token grant type to refresh an existing token.If using client_credentials grant type, please use HTTP Basic Auth to pass the credentials
(with the username being the client_id and the password being the client_secret).
The client_id and client_secret can be passed in the form data, but this is deprecated and
not recommended.
Successful Response
Schema of the APIAccessToken, returned by the authentication or refresh token
The access token used for authenticated requests.
Type of the token.
Integer with the seconds that the access token will be expired in.
The token used to refresh the authentication and retrieve a new access token.