Collabin icon

Collabin

Read and manage leave requests, users, teams and the workday calendar in Collabin

Actions11

Leave → Create

AI-generated

Summary

Create a new leave request (status PENDING) for a user.

Inputs

  • userId (required) — ID of the employee the leave request is for.
  • leaveTypeId (required) — ID of the leave type (see Leave Type → Get Many).
  • startDate (required) — First day of the leave request.
  • endDate (required) — Last day of the leave request.
  • additionalFields — Additional optional fields for the request.

Output shape

array of objects

Each item contains the created leave request object as returned by the Collabin API.

Links

Discussion