Request Refresh Token

After the Access Token expires, the Refresh Token can still be used for renewal for 7 days. After that, it expires and a new Access Token must be generated by the user.

POST /REST/v1/OAuth/GetAccessToken
Host: oauth2.hin.ch
Content-Type: application/x-www-form-urlencoded

grant_type=refresh_token&refresh_token=<refresh_token>&client_id=<client_id>&client_secret=<client_secret>

Parameters

ParameterValueDescription
grant_typerefresh_tokenThe type is fixed as "refresh_token"
refresh_token<refresh_token>Refresh Token issued when obtaining the initial Access Token
client_id<client_id>OAuth Client ID: ID assigned by HIN for the third-party application. Not a HIN identity.
client_secret<client_secret>OAuth Client Secret: a password defined by HIN