# (NEW!) Get User Status Counts Retrieve user totals by status for the authenticated customer, calculated in a single grouped query. Backs the User Management screen's status tabs without running a separate paginated GET /users query per status. Business Rules: - This endpoint does not currently accept any query parameters — the counts always represent the complete user population for the authenticated customer and are unaffected by the search/filter state of GET /users. Filtering may be added later as an additive change. - All four properties are always returned, including 0 for a status with no matching users. - Pending-approval identification preserves the existing User Management status/update-attribution rules. The user submitting the request must have the User Management privilege. Endpoint: GET /users/status-counts Version: 1.5 Security: ApiKeyAuth, BasicAuth ## Header parameters: - `X-API-Key` (string, required) Customer-specific API key required to invoke API. - `Authorization` (string, required) Provided by Authentication Token creation operation. ## Response 200 fields (application/json): - `enabled` (integer) Number of enabled users for the authenticated customer. Example: 842 - `disabled` (integer) Number of disabled users for the authenticated customer. Example: 130 - `pendingApproval` (integer) Number of users considered pending approval by the existing User Management status rules. Example: 12 - `total` (integer) Total number of users for the authenticated customer. Example: 984 ## Response 401 fields (application/json): - `status` (string) Example: "error" - `message` (string) ## Response 403 fields (application/json): - `status` (string) Example: "error" - `message` (string) ## Response 500 fields (application/json): - `status` (string) Example: "error" - `message` (string)