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

Parameters: get_whos_working
NameTypeDescription
date string string YYYY-MM-DD; defaults to today

Request

cURL
curl https://cotlet.dev/api/v1/charliehr/whos-working \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("charliehr", "get_whos_working")
Node.js
const result = await cotlet.call('charliehr', 'get_whos_working');
CLI
cotlet call charliehr get_whos_working

Example response

JSON

{
  "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"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.