Get the annual allowance summary
Allowance, carry forward, time in lieu, leave used and remaining per person for one year.
GET https://cotlet.dev/api/v1/timetastic/annual-summary
read
Reads the Annual summary from Settings > Reporting & Backup and returns the Allowances sheet: allowance, brought forward, leave used, time in lieu and remaining per person. It does not return the Leave sheet; use get_monthly_summary for rows. The account must be able to open that page.
Parameters
| Name | Type | Description |
|---|---|---|
| year integer required | integer | Year such as 2026. |
Request
curl "https://cotlet.dev/api/v1/timetastic/annual-summary?year=1" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("timetastic", "get_annual_summary", {"year":1}) const result = await cotlet.call('timetastic', 'get_annual_summary', {"year":1}); cotlet call timetastic get_annual_summary --data '{"year":1}' Example response
{
"year": 2026,
"unit": "days",
"people": [
{
"employee": "Ana Torres",
"allowance": 25,
"carried_forward": 3,
"used": 18,
"time_in_lieu": 0,
"remaining": 10
},
{
"employee": "Ben Okafor",
"allowance": 25,
"carried_forward": 0,
"used": 21,
"time_in_lieu": 1,
"remaining": 5
}
]
}