v1
latestOpenAPI 3.0.02026-07-24310185.2 KBList absences ๐
Returns the absences in a company. This list is paginated. The output can be filtered given some fields like contractId. By default, only approved absences are returned, but this can be changed by setting status filter.
Required scopes: time:read
Path parameters
The id of the company
Query parameters
The encoded pagination token
Allows to define the maximum number of items to fetch at once. (Max: 50, Default: 10)
Filter by contractId.
Filter by status. Defaults to approved. Multiple statuses can be provided, separated by commas, for example status=approved,pending_approval. If all is provided, all absences will be returned, regardless of their status. Possible statuses are: - approved - pending_approval - declined - cancelled - pending_cancellation
Defines the minimal begin date of absences to fetch. Every absences with params.beginDate <= absences.endDate will be included.
Defines the maximal end date of absences to fetch. Every absences with params.endDate >= absences.startDate will be included.
Response
The absences of the collaborators in the company.