Exchange for Access Token
Once you have obtained the authorization code, you need to convert it to a long-lived (30 days) access token.
Exchange Authorization Code for Access Token
POST
https://www.talque.com/oauth2/access-token
Convert the short-lived authentication code into a long-lived access token. Note that the payload must be application/x-www-urlencoded
encoded per the OAuth2 specs.
Request Body
Name | Type | Description |
---|---|---|
grant_type | string | This field should always be: "authorization_code" |
code | string | The authorization code received in the first step |
client_id | string | Your API client ID |
client_secret | string | Your API client secret |
Last updated