Refreshing an access token with a refresh token

Refresh Tokens are available with all access to, it allows you to regenerate the user's access token without needed secondary authorisation flow.

When a user has authorised your request and you swap the code for an access token you are given several pieces of information along with the initial access token See Here

Your access_token is only valid for expires_in parameter, you will need to use your client_id, client_secret and refresh_token in order to regenerate an access_token.

In order to regenerate the access_token you will need to make a POST request to the following endpoint.

You will need to send the following parameters with the POST request.

client_idThe Client ID generated for your application
client_secretThe Client Secret generated for your application
refresh_tokenThe refresh_token obtained during the initial authorisation flow
grant_typeMust be set to refresh_token