Once a user has given approval from the /authorize endpoint, use this endpoint to receive an access_token.

Body Params
string
required

The grant type of this request. Will be authorization_code or refresh_token depending on which is accompanying this request

string
required

The client_id of your application

string
required

The client_secret of your application

string
required

The redirect_uri of your application

string

The code received from an /authorize response. Required if grant_type is authorization_code

string

The refresh_token received from a previous /token response. Required if grant_type is refresh_token

Responses

Language
Request
Choose an example:
application/json