Create absence
Create a new absence.
Check this page for a detailed guide.
This endpoint requires the permission Manage absences to be enabled in your scope config.
Example Request Body
Authorizations
Headers
ID of the integration you want to interact with.
Body
The ID of the employee in Kombo or their ID in the remote system by prefixing it with remote:
(e.g., remote:12312
)
The ID of the absence type in Kombo (not its remote_id
).
The date that the absence starts. This is a plain date (i.e., yyyy-MM-dd
), with all time information discarded.
When the absence ends.The date that the absence ends. This is a plain date (i.e., yyyy-MM-dd
), with all time information discarded.
A note describing the reason for this absence.
The state that the absence should be created in. Some tools may approve absences automatically if they were created for an absence type that does not require approval.
REQUESTED
, APPROVED
true
if the absence should start in the middle of the day.
true
if the absence should end in the middle of the day.
The amount of time of the absence. Specifying this also requires specifying unit
. This is supported by very few tools.
x > 0
The time unit of the amount
value. Specifying this also requires specifying amount
.
HOURS
, DAYS
The time of when the absence begins. Follows the format HH:mm
or HH:mm:ss
(e.g., 14:45:15
). If start_time
is specified, end_time
has to be specified as well.
The time of when the absence ends. Follows the format HH:mm
or HH:mm:ss
(e.g., 14:45:15
). If end_time
is specified, start_time
has to be specified as well.
Additional fields that we will pass through to specific HRIS systems.