List employees
Returns a paginated list of employees.
Access
Access
EstablishmentsThis API endpoint will filter out results based on accessible business-establishments.You may only access employees whose applicable business-establishments are accessible to you.
Authorizations
The Lucca API implements the oAuth 2 protocol with the client-credentials-flow. Refer to RFC8725.
- Token URL
- https://accounts.world.luccasoftware.com/connect/token
Headers
Set the API version.
2024-11-01 "2024-11-01"10"2024-11-01"
Only execute the request if current cached version of the resource does not match the one given here.
"W/q5sd4w2x1c1gfdg"
Only execute the request if current cached version of the resource matches the one given here. Useful to avoid concurrency conflicts.
"W/q5sd4w2x1c1gfdg"
List of compression algorithms you support.
Query Parameters
Cursor of the page to retrieve: the page value of links.next.href or links.prev.href in a previous response.
Cursors are opaque: don't build or modify them. An invalid cursor gets a 400 Bad Request.
Read more about pagination.
Number of items per page. Defaults to 25. Maximum is 1,000. Read more about pagination.
0 <= x <= 1000Find an employee by their name. The employee given or family names must start with the given words. Each word can be delimited with any of these delimiters: [' ', '-', '_', ',', '.'].
1Filter out employees on their ID.
1001Filter out employees on their email address (strict equality). Comma-separated list. Send "?email=null" to retrieve employees with no email address.
1003 - 255Filter out employees on their status.
100Read-only. The employee status is calculated from the employee's employments.
- active: employee has an employment as of today.
- upcoming: employee currently has no employment but will have one in the future.
- deactivated: employee used to have an employment but no longer does.
active, upcoming, deactivated Filter out employees on their active employment legal-entity IDs.
1001Filter out employees on their active employment remoteId.
1001Filter out employees on their active employment startsOn date (strict equality).
Filter out employees on their active employment startsOn date. ISO 8601 formatted date-range string. ISO 8601 formatted date-range string. Examples:
2024-01-01--2024-12-31: from Jan. 1st 2024 until Dec. 31st 2024 (included)...--2024-12-31: until Dec. 31st 2024.2024-01-01--..: from Jan. 1st 2024.
^(?:\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])|\.\.)--(?:\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])|\.\.)$"2024-01-01--2024-12-31"
"..--2024-12-31"
"2024-01-01--.."
Filter out employees on their applicable employment endsOn date (strict equality).
Filter out employees on their applicable employment endsOn date. ISO 8601 formatted date-range string. ISO 8601 formatted date-range string. Examples:
2024-01-01--2024-12-31: from Jan. 1st 2024 until Dec. 31st 2024 (included)...--2024-12-31: until Dec. 31st 2024.2024-01-01--..: from Jan. 1st 2024.
^(?:\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])|\.\.)--(?:\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])|\.\.)$"2024-01-01--2024-12-31"
"..--2024-12-31"
"2024-01-01--.."
Filter out employees on their applicable employment template IDs.
1001Filter out employees on their applicable employment template term.
100Term of an employment.
permanent, fixed Filter out employees on their applicable job-position remoteId.
1001Filter out employees on their active job-position business-establishment IDs.
1001Filter out employees on their applicable job-position department IDs.
1001Filter out employees on their manager's IDs.
1001Filter out employees on their applicable job-position job-qualification IDs.
1001Filter out employees on their active job-position job-qualification remoteId.
1001Filter out employees on their active job-position occupation-category IDs.
1001Filter out employees on their active job-position occupation-category remoteId.
1001Order employees by given instruction. Read more about sorting. Default: id.
100id, -id, familyName, -familyName, createdAt, -createdAt Filter out employees on their lastUpdatedAt timestamp (range).
ISO 8601 formatted date-time-offset-range string.
Designed as a right-half-open interval: end is excluded [start, end).
Each bound must be written as yyyy-MM-ddTHH:mm:ss, with optional fractional seconds, followed by an offset (Z or ±hh:mm).
Seconds are required. A timestamp read from a response payload can be reused as a bound as is,
within a precision of 100 ns.
Examples:
2026-01-01T00:00:00Z--2027-01-01T00:00:00Z: from Jan. 1st 2026 until Dec. 31st 2026...--2026-06-01T00:00:00Z: until May 31st 2026 (included).2026-05-26T00:00:00Z--..: from May 26th 2026.2026-05-26T07:23:29.7977299+00:00--..: from May 26th 2026, 07:23:29.7977299 UTC.
^(?:\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)|\.\.)--(?:\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)|\.\.)$"2026-01-01T00:00:00Z--2027-01-01T00:00:00Z"
"..--2026-06-01T00:00:00Z"
"2026-05-26T00:00:00Z--.."
"2026-05-26T07:23:29.7977299+00:00--.."
Include metadata:
embedded: the partial or complete representations of related resources (e.g. the employee the resource belongs to).links: links to related resources or actions (e.g. approving a leave-request). May benullwhen you do not have access to the resource (or action).totalCount: only applicable on collections (i.e. lists of resources), gives the total number of items across all pages.
Read more about expanding responses.
embedded, links, totalCount Response
OK
A collection of employee resources.
"employees"Total number of employee resources across all pages that satisfy query parameters.
x >= 0Paginated list of employee resources.
1000Links to related resources
Embeds the representation of resources related to the employee(s).
Only returned if requested by the API client: ?include=embedded.