get https://api.timeero.app/api/public/users
Endpoint: GET /users
Description: Retrieves a list of users with optional filtering, sorting, and pagination.
Query Parameters:
Name | Data Type | Description |
---|---|---|
sort | string | Specifies the field by which to sort the results. Allowed values are first_name, last_name, and role_id. |
search | string | A keyword to search users by their first name, last name, group name, phone, or email. |
active | boolean | Filters users based on their active status (true or false). |
is_register | boolean | Filters users based on their registration status. |
billing_rate_type | integer | Specifies the billing rate type (0 for hourly, 1 for daily). |
role | integer | Filters users based on their role (1 for Admin, 2 for Manager, 3 for Employee). |
group_id | integer | Filters users by their group ID. |