Refresh Access Token
POST
/authorize/refresh-tokenRequest
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
clientId
string
required
Client ID
secretKey
string
required
Secret
refreshToken
string
required
Exchange new token with old one
Example
{
"clientId": "xxx",
"secretKey": "xxx",
"refreshToken": "xxx"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
expireIn
integer <int64>
optional
Expire time seconds, will expire in 30 days
accessToken
string
optional
Access Token
refreshToken
string
optional
Refresh Token
Example
{
"code": "0",
"data": {
"expireIn": 2592000,
"accessToken": "xxx",
"refreshToken": "xxx"
}
}
Last modified: 7 months ago