API Reference › User
Get User Statistics
GET
/user/statsCounts of the user's bots and registered groups.
Scoperead:profile
Usage
curl "https://api.lifebots.cloud/api/v1/user/stats" \
-H "Authorization: Bearer $ACCESS_TOKEN"Path parameters
None.
Example response
{
"success": true,
"data": {
"bots": {
"total": 3,
"online": 2,
"offline": 1,
"expired": 0
},
"groups": {
"total": 2,
"active": 2,
"inactive": 0
}
},
"meta": {
"timestamp": "2026-10-02T12:00:00.000Z",
"version": "1.0"
}
} Always check success; for commands the bot carries out, also check data.result. See Responses & errors.