Refresh access token
https://api.sciener.com/oauth2/token
Use the refresh_token to get new access token and refresh token
2.1 HTTP request method
POST
2.2 Response content format
JSON
2.3 Description
Name |
Required |
Value |
Description |
client_id |
Y |
|
The app_id which is assigned by system when you create an application |
client_secret |
Y |
|
The app_secret which is assigned by system when you create an application |
grant_type |
Y |
refresh_token |
|
refresh_token |
Y |
|
Refresh token |
2.4 Response
Name |
Type |
Example |
Description |
access_token |
String |
Y |
Access token |
expires_in |
Int |
10 |
Expire time of access token, in second. |
scope |
String |
user,key,room |
Permission scope |
refresh_token |
String |
f45a713ef706d09c892084ee7e350384 |
Refresh token |