Get statistics about applications including counts by type and status
GET
/applications/totals
curl \
--request GET 'https://collect.your-domain.com/api/applications/totals' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"code": 200,
"message": "application totals retrieved successfully",
"data": {
"total": 150,
"unassigned": 25,
"assigned": 125,
"with_errors": 5,
"by_type": {
"mail": 30,
"webtop": 25,
"nethvoice": 20,
"nextcloud": 15
},
"by_status": {
"assigned": 125,
"unassigned": 25
}
}
}
Response examples (401)
{
"code": 401,
"message": "invalid token",
"data": {}
}
Response examples (403)
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}