curl -G https://api.plane.com/v1/leave-requests \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "status=requested"
{
"leave_requests": [
{
"id": "lvr_6r3wLwX44s0Ak0bDkP5n2r7Q",
"status": "requested",
"leave": {
"id": "lv_1HPCXADYAhh5k1NMU0r1WUqs",
"type": "vacation",
"worker": "wr_CgcLakmx4guire",
"starts": "2026-04-14",
"ends": "2026-04-16",
"days": 2.5,
"hours": 20,
"schedule": {
"2026-04-14": 8,
"2026-04-15": 8,
"2026-04-16": 4
},
"note": "Annual vacation"
},
"created": "2026-03-10T18:42:11Z",
"updated": "2026-03-10T18:42:11Z"
}
],
"cursor": "eyJpZCI6Imx2cl82cjN3THdYNDRzMEFrMGJEa1A1bjJyN1EifQ=="
}
Returns leave requests in your Plane workspace.
curl -G https://api.plane.com/v1/leave-requests \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "status=requested"
{
"leave_requests": [
{
"id": "lvr_6r3wLwX44s0Ak0bDkP5n2r7Q",
"status": "requested",
"leave": {
"id": "lv_1HPCXADYAhh5k1NMU0r1WUqs",
"type": "vacation",
"worker": "wr_CgcLakmx4guire",
"starts": "2026-04-14",
"ends": "2026-04-16",
"days": 2.5,
"hours": 20,
"schedule": {
"2026-04-14": 8,
"2026-04-15": 8,
"2026-04-16": 4
},
"note": "Annual vacation"
},
"created": "2026-03-10T18:42:11Z",
"updated": "2026-03-10T18:42:11Z"
}
],
"cursor": "eyJpZCI6Imx2cl82cjN3THdYNDRzMEFrMGJEa1A1bjJyN1EifQ=="
}
created and
then by id.
2026-04-01.2026-04-30.requested, approved, declined, or
cancelled.starts or ends, Plane returns a leave request when any part of its leave falls
inside that date window.
curl -G https://api.plane.com/v1/leave-requests \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "status=requested"
leave_requests property that contains an array of
Leave Request objects. If no matching leave requests exist, the
array is empty.
{
"leave_requests": [
{
"id": "lvr_6r3wLwX44s0Ak0bDkP5n2r7Q",
"status": "requested",
"leave": {
"id": "lv_1HPCXADYAhh5k1NMU0r1WUqs",
"type": "vacation",
"worker": "wr_CgcLakmx4guire",
"starts": "2026-04-14",
"ends": "2026-04-16",
"days": 2.5,
"hours": 20,
"schedule": {
"2026-04-14": 8,
"2026-04-15": 8,
"2026-04-16": 4
},
"note": "Annual vacation"
},
"created": "2026-03-10T18:42:11Z",
"updated": "2026-03-10T18:42:11Z"
}
],
"cursor": "eyJpZCI6Imx2cl82cjN3THdYNDRzMEFrMGJEa1A1bjJyN1EifQ=="
}
Was this page helpful?