Get one person's calendar

A year of one person's bookings with leave taken and remaining.

GET https://cotlet.dev/api/v1/timetastic/employee-calendar

read

Returns the bookings of that year with leave type and status, and the summary Timetastic shows beside the Calendar: annual leave taken, annual leave remaining and total non-deductible leave. Managers and admins can open an employee's Calendar for their leave summary.

Parameters

Parameters: get_employee_calendar
NameTypeDescription
employee string required string Full name of the person, as the Wallchart shows it.
year integer integer Year such as 2026. Defaults to the current year.

Request

cURL
curl "https://cotlet.dev/api/v1/timetastic/employee-calendar?employee=employee" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("timetastic", "get_employee_calendar", {"employee":"employee"})
Node.js
const result = await cotlet.call('timetastic', 'get_employee_calendar', {"employee":"employee"});
CLI
cotlet call timetastic get_employee_calendar --data '{"employee":"employee"}'

Example response

JSON

{
  "employee": "Ana Torres",
  "year": 2026,
  "annual_leave_taken": 18,
  "annual_leave_remaining": 10,
  "non_deductible_leave": 1,
  "bookings": [
    {
      "from": "2026-09-07",
      "to": "2026-09-08",
      "leave_type": "Holiday",
      "status": "Approved",
      "days": 2
    },
    {
      "from": "2026-09-15",
      "to": "2026-09-15",
      "leave_type": "Sick leave",
      "status": "Approved",
      "days": 1
    }
  ]
}

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.