Refreshing token

Feature Description

To refresh token

Interface Address

GET /v1.0/token/{refresh_token}

Header Parameter

Parameter name Type Parameter position Description Required
client_id String header client_id Yes
sign String header Signature calculated by “before get token” above signature algorithm Yes
sign_method String header Digestion algorithm of signature, HMAC-SHA256 Yes
t Long header 13-digit standard time stamp Yes

Request Parameters

Parameter name Type Parameter position Description Required
refresh_token String URI /v1.0/tokenreturn messages Yes

Request Example

GET /v1.0/token/12312312312sdfsdaasd

Return Messages

Parameter name Type Description
code Integer Response code(see error code section for details)
success Boolean Success or failed: (true: success, false: failed)
msg String Request failed message. Empty when successful
result Object Return results

Result Description

Parameter name Type Description
access_token String Access token
expire_time integer Expiry time. Unit: seconds
refresh_token String For refreshingaccess_token

Return Example


"success": true,
"result": {
"access_token": "",
"expire_time": 7200,
"refresh_token": ""


400 Call