Skip to main content
POST
/
v1
/
leave-requests
Create a leave request
curl --request POST \
  --url https://api.plane.com/v1/leave-requests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "worker": "<string>",
  "type": "<string>",
  "dates": [
    {}
  ],
  "note": "<string>",
  "status": "<string>"
}
'

Parameters

worker
string
required
ID of the worker the request belongs to.
type
string
required
Leave type for the request.
dates
array
required
List of ISO 8601 leave dates covered by the request.
note
string
Optional worker note for the leave.
status
string
Initial request status. One of requested or approved. Defaults to requested.
Use status: "approved" when you want the request to affect leave balances immediately without a separate approval step.

Returns

Returns the created Leave Request object.