Refresh token

After expiration of the original received access token, a refresh token can be used to acquire a new access token. Send a HTTP POST request to https://app1pub.smappee.net/dev/v1/oauth2/token

If the server processed your call successfully you will receive a HTTP OK error with the renewed access token and a new refresh token.

Just like with the original authentication call, the new access token can be used to access the API calls and the refresh token can be used to refresh access after the expiry period of 10 hours (36000 seconds).