/user/ - Enhanced with Fast Accounting Data
/user/ endpoint retrieves user data with optional accounting information from cached data.
Enhanced Accounting Support:
When accounting=true, this endpoint now provides:
GET
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
| q (Optional) | string | Search query to filter users by name or email |
| page (Optional) | integer | Page number for pagination. Default: 1 |
| size (Optional) | integer | Number of users per page. Default: 10 |
| accounting (Optional) | string | Set to ‘true’ to include fast cached accounting data |
| attributes (Optional) | string | Comma-separated list of attributes to include |
| sort (Optional) | string | Sort field: ‘createdAt’, ‘updatedAt’, ‘name’, ‘split’ |
| order (Optional) | string | Sort order: ‘asc’ or ‘desc’ |
| externalId (Optional) | string | Filter by external ID |
| role (Optional) | string | Filter by user role(s), comma-separated for multiple |
pendingCalculation: true and get queued for background processingJWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Search query to filter users
Page number for pagination
Number of users per page
Set to 'true' to include fast cached accounting data
true, false Comma-separated list of attributes to include in the response
Filter users by external ID
Filter by user role(s), comma-separated for multiple
Sort field (using accounting fields like 'gross', 'paid', 'due' requires accounting=true)
createdAt, updatedAt, name, split, gross, paid, due this value determines the order for sorting the result, either ascending or descending
asc, desc