Get Permanent Token
POST
/authorize/access-permanent-tokenRequest
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
clientId
string
required
Client ID
secretKey
string
required
Secret
Example
{
"clientId": "xxx",
"secretKey": "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, -1 means no expiration
accessToken
string
optional
Access Token
Example
{
"code": "0",
"data": {
"expireIn": 2592000,
"accessToken": "xxx"
}
}
Last modified: 6 months ago