Returns workspace absences visible to the current user.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Query parameters
pageintegerOptional1Page number for pagination
pageSizeintegerOptional10Number of items per page
orderbystringOptionalThe properties to order by
filterbystringOptionalThe filter expression to filter by
Responses
200 OK
application/json
idstringOptionalThe id of the entity.
createdOnstringOptionalThe date this entity was created.
createdBystringOptionalThe id of the user who created this entity.
updatedOnstringOptionalThe date this entity was last modified.
updatedBystringOptionalThe id of the user who last modified this entity.
userIdstring or nullOptionalThe id of the user to create the absence for.
startOnstringOptionalThe start time of the absence.
endOnstringOptionalThe end time of the absence.
descriptionstring or nullOptionalThe reason for the absence.
externalProviderstring or nullOptionalThe external provider for the absence. If this value is set, the absence is treated as externally managed and therefore read-only in awork. This means users in awork can no longer edit or delete the absence.
deletedOnstring or nullOptionalThe date the absence was deleted.
deletedBystring or nullOptionalThe id of the user that deleted the absence.
isReadOnlybooleanOptionalIf it's true it means that this Absence is read-only and cannot be edited/deleted by the user.
isHalfDayOnStartbooleanOptionalIf it's true and it's a single day absence means that the absence is for the first half of the workday. If it's a multi day absence it started on the second half of the first day of the absence period.
isHalfDayOnEndbooleanOptionalIf it's true and it's a single day absence means that the absence is for the second half of the workday. If it's a multi day absence it ended on the first half of the last day of the absence period.