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
Create an API key on the Secrets page in the Kombo dashboard.
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 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
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.
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.
The time unit of the amount
value. Specifying this also requires specifying amount
.
HOURS
, DAYS
A note describing the reason for this absence.
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.
Response
success