Get aggregated member counts grouped by status.
GET/v1/organizations/{organization_id}/users/status-summary
organization_id string required
Organization ID
Returns status counts for the organization.
- Excludes soft-deleted members
- Useful for dashboard statistics
Requires Admin or Owner role.
Bash
- Bash
- Python
- JavaScript
curl https://api.aitronos.com/v1/organizations/org_abc123/users/status-summary \
-H "X-API-Key: $FREDDY_API_KEY"Response:
{
"status_counts": [
{
"status_id": "status_abc123",
"status_name": "Active",
"count": 42
},
{
"status_id": "status_def456",
"status_name": "Inactive",
"count": 3
}
]
}