Generate Token
Authorization
Generate Token
Exchange authorization code for access token and refresh token. This endpoint is used after receiving the authorization code from the authorize endpoint.
POST
Generate Token
Generate Token
Exchange the authorization code for an access token and refresh token. This endpoint is used after receiving the authorization code from the authorize endpoint.string
required
The authorization code received from the authorize endpoint
string
required
Your OAuth client ID
string
required
Your OAuth client secret (keep this secure!)
string
required
Must be set to
authorization_code for this flowstring
required
The same redirect URI used in the authorization request
string
The access token to use for API requests. Include this in the Authorization header as
Bearer {access_token}.string
Token used to obtain a new access token when it expires. Store this securely.
string
The type of token, typically
Bearerinteger
The number of seconds until the access token expires
Body
application/x-www-form-urlencoded
The authorization code received from the authorize endpoint
Your OAuth client ID
Your OAuth client secret
Must be set to 'authorization_code' for this flow
Available options:
authorization_code The same redirect URI used in the authorization request
Response
Token response