Refresh access token

https://api.sciener.com/oauth2/token

When access token expired, you can refresh it by this api, the refresh_token is returned by Get Access Token, the valid period of refresh token is 10 years since it's created.

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameRequiredParameter valueDescription
clientIdY clientId from Create application
clientSecretY clientSecret from Create application
grant_typeYrefresh_tokengrant type, value: refresh_token
refresh_tokenY refresh token

3 Response and example

NameTypeRequest parameters
access_tokenStringAccess token
expires_inIntExpire time of access token, in second.
refresh_tokenStringRefresh token