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.The authorization code received from the authorize endpoint
Your OAuth client ID
Your OAuth client secret (keep this secure!)
Must be set to
authorization_code for this flowThe same redirect URI used in the authorization request
The access token to use for API requests. Include this in the Authorization header as
Bearer {access_token}.Token used to obtain a new access token when it expires. Store this securely.
The type of token, typically
BearerThe 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