Management APIUser sign-in and registration
⚠️Compliance notice: Use this project only for lawfully authorized API gateway, internal management, and private deployment scenarios. Follow upstream terms of service, platform rules, regulatory requirements, and content safety requirements.
Refresh sign-in session
Use the new_api_refresh cookie. Cookie requests require Origin validation. X-Auth-Session may bind the expected SID; refresh returns a new access_token and rotates the cookie.
Header Parameters
X-Auth-Session?string
Cookie Parameters
new_api_refreshstring
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.beeaicloud.com/api/user/auth/refresh" \ --cookie "new_api_refresh=string"{
"success": true,
"message": "string",
"data": {
"access_token": "string",
"token_type": "string",
"access_expires_at": 0,
"user": {
"id": 0,
"username": "string",
"role": 0,
"status": 0
},
"session": {
"sid": "string"
}
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}How is this guide?