# Filter all employees Endpoint: GET /users Version: v1 Security: http ## Query parameters: - `sort` (string) Available sorts are first_name, last_name, email, created_at, custom_field..You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -title. Example: "sort=-created_at,title" - `include` (string) Available includes are userGroups. You can include multiple options by separating them with a comma. - `page[size]` (integer) The number of results that will be returned per page. - `page[cursor]` (string) The cursor to start the pagination from. - `filter` (string) Allowed filter fields (with allowed operators): | Field | Type | Operators | |------|------|-----------| | archived | enum: with, only, without | eq | | first_name | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull | | last_name | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull | | email | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull | | plan | enum | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull | | type | enum | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull | | is_owner | boolean | eq, ne, neq, isnull, isnotnull, notnull | | created_at | datetime | eq, ne, neq, lt, lte, le, gt, gte, ge, in, nin, notin, isnull, isnotnull, notnull | | custom_field.* — see Custom fields below | custom | eq, ne, neq, lt, lte, le, gt, gte, ge, in, nin, notin, contains, like, startswith, endswith, isnull, isnotnull, notnull | Filtering expression. Accepts either JSON (array/tree of conditions) or a readable string DSL. You can check the full syntax at Docs Filtering section. Special values: - me.id — current authenticated user id (usable on fields of type id). Example: id eq me.id - now — current date-time. Example: dueOn lt now - sow/eow — start/end of week. Examples: dueOn gt sow, dueOn lt eow - som/eom — start/end of month. Examples: dueOn gt som, dueOn lt eom - today — special date for today; with eq it expands to the whole day range. Example: dueOn eq today - today±Nd — relative day offset. Examples: today-30d, today+5d. Custom fields: when enabled, you can filter by custom_field.. Example: custom_field.my_flag eq 'yes' or custom_field.score gte 10. Supported ops depend on the custom field type (eq, ne, in, nin, contains, startswith, endswith, isnull, isnotnull, and comparisons for numeric/date types). Example: "title contains \"Acme\" and (created_at >= \"2024-01-01\" or client.name contains \"Corp\")" ## Response 200 fields (application/json): - `data` (array, required) The list of items - `data.id` (string, required) - `data.external_id` (string,null, required) Can be used to add an identifier to the client from an external system, must be unique - `data.first_name` (string, required) - `data.last_name` (string, required) - `data.title` (string,null, required) - `data.title_suffix` (string,null, required) - `data.email` (string, required) - `data.birthday` (string,null, required) - `data.gender` (string,null, required) - `data.position` (string,null, required) - `data.special_roles` (string,null, required) - `data.skills` (string,null, required) - `data.profile` (string,null, required) - `data.language` (string,null, required) UI language - `data.languages` (string,null, required) Spoken languages - `data.telephone_office` (string,null, required) Mobile phone (Office) - `data.phone_extension` (string,null, required) Landline phone (Office) - `data.telephone` (string,null, required) Mobile phone (Private) - `data.entry_date` (string,null, required) Date of joining the company - `data.leave_date` (string,null, required) Date of leaving the company - if set in the future, the employee will be archived on that date - `data.type` (string, required) Enum: "user", "guest", "tax_advisor" - `data.plan` (string, required) Enum: "basic", "standard", "external", "advanced", "expert", "guest", "tax_advisor", "not_assigned" - `data.is_owner` (boolean, required) Is Kanbert space owner - `data.avatar` (any, required) - `data.userGroups` (array) - `data.userGroups.name` (string, required) - `data.userGroups.is_team` (boolean, required) If true, this usergroup is shown as team - `data.userGroups.users` (array, required) - `data.userGroupsCount` (integer) - `data.userGroupsExists` (boolean) - `data.customFields` (object, required) The key is the field name for your custom field, value type depends on the field type - `data.created_at` (string, required) - `data.deleted_at` (string,null, required) - `links` (array, required) - `meta` (object, required) - `meta.path` (string,null, required) Base path for paginator generated URLs. - `meta.per_page` (integer, required) Number of items shown per page. - `meta.next_cursor` (string,null, required) - `meta.next_cursor_url` (string,null, required) - `meta.prev_cursor` (string,null, required) - `meta.prev_cursor_url` (string,null, required) ## Response 401 fields (application/json): - `message` (string, required) Error overview.