Refresh Access Token
POST
https://app.leiga.com/openapi/api/authorize/refresh-token
Authorize Module(authorize)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.leiga.com/openapi/api/authorize/refresh-token' \
--header 'Content-Type: application/json' \
--data-raw '{
"clientId": "xxx",
"secretKey": "xxx",
"refreshToken": "xxx"
}'
Response Response Example
{
"code": "0",
"data": {
"expireIn": 2592000,
"accessToken": "xxx",
"refreshToken": "xxx"
}
}
Request
Header Params
Content-Type
stringÂ
required
Example:
application/json
Body Params application/json
Responses
Modified at 2024-06-12 06:46:49