Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Block
POST /dev/v1v3/oauth2/token HTTP/1.1
Host: app1pub.smappee.net
Content-Type: application/x-www-form-urlencoded;charset=UTF-8

grant_type=refresh_token&
refresh_token=[YOUR_REFRESH_TOKEN]&
client_id=[YOUR_APP_ID]&
client_secret=[YOUR_CLIENT_SECRET]

...