Get who is working
Who is working where and who is off, for one day.
GET https://cotlet.dev/api/v1/charliehr/whos-working
read
Returns what the Who's Working page shows for a date: people by working location, and people on holiday or sick leave. Only people with a start date in the past who are not archived appear. Visible to every user of the account, so any role can call it. Defaults to today.
Parameters
| Name | Type | Description |
|---|---|---|
| date string | string | YYYY-MM-DD; defaults to today |
Request
curl https://cotlet.dev/api/v1/charliehr/whos-working \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("charliehr", "get_whos_working") const result = await cotlet.call('charliehr', 'get_whos_working'); cotlet call charliehr get_whos_working Example response
{
"date": "2026-11-18",
"working": [
{
"location": "Office",
"people": [
"Leo Fischer",
"Maya Cole"
]
},
{
"location": "Home",
"people": [
"Ana Lopez"
]
}
],
"off": [
{
"name": "Priya Nair",
"reason": "Holiday"
},
{
"name": "Sam Rivera",
"reason": "Sick"
}
]
}