/user/ - Enhanced with Fast Accounting Data
Description:
The /user/
endpoint retrieves user data with optional accounting information from cached data.
Enhanced Accounting Support:
When accounting=true
, this endpoint now provides:
Method: 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 |
Performance Notes:
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
Sort field
createdAt
, updatedAt
, name
, split
this value determines the order for sorting the result, either ascending or descending
This allows you filter by the users role, it can take multiple by comma separation
Success
The response is of type object
.