Refresh Token
Once an access token has expired you can use your refresh token to get a new access token. This activity should be performed server to server as it includes your client secret which must be treated as a password and you should never expose it to clients.
Request
URL
/api/oauth2/token
Data
For the token exchange you will send the following fields.
grant_type
refresh_token
refresh_token
The refresh_token
value from the code exchange.
client_id
The same client_id
value you sent in to the authorization step.
client_secret
This is your client secret that was generated when the client was configured.
Response
access_token
This token can be used to call any of our APIs that you have the right permissions and scopes to call.
expires_in
The number of seconds the access token is good for.
refresh_token
token_type
Bearer
Documentation
Last updated