Who's offPro
GET /org/whos-offEveryone with approved leave on a day: today, unless you ask for another.
curl "https://api.myfolke.com/api/v1/org/whos-off?date=2026-12-24" \ -H "Authorization: Bearer YOUR_KEY" \ -H "Accept: application/json"Options
Section titled “Options”| Option | What it does |
|---|---|
date |
The day, as YYYY-MM-DD. Defaults to today. |
Response
Section titled “Response”Each item is a booking, in the same shape as leave, covering the day you asked about. Check startsAfternoon, endsMorning and the times to see whether somebody is off for all of it.
{ "data": [ { "id": 4190, "person": { "id": 15, "name": "Tom Reed", "email": "tom@example.com" }, "type": { "id": 1, "name": "Annual Leave" }, "startDate": "2026-12-24", "endDate": "2026-12-24", "startsAfternoon": true, "endsMorning": false, "startTime": null, "endTime": null, "days": 0.5, "status": "approved", "closure": false, "requestedAt": "2026-11-02T09:12:00+00:00", "decidedAt": "2026-11-02T11:40:00+00:00" } ], "meta": { "date": "2026-12-24" }}Still stuck? Email hey@myfolke.com.