List pending leave requests
The requests waiting in your inbox, with the overlaps Timetastic flags.
GET https://cotlet.dev/api/v1/timetastic/pending-requests
read
Returns each pending request with the person, department, leave type, dates, the days asked for, the reason and the approver. A request that overlaps another person's time off lists that person under clashes. It reads the inbox and changes nothing.
Parameters
| Name | Type | Description |
|---|---|---|
| approver string | string | Only requests that go to this approver, by full name. Defaults to every request your account can see under View all. |
Request
curl https://cotlet.dev/api/v1/timetastic/pending-requests \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("timetastic", "list_pending_requests") const result = await cotlet.call('timetastic', 'list_pending_requests'); cotlet call timetastic list_pending_requests Example response
{
"total": 2,
"requests": [
{
"request_id": "5128840",
"employee": "Ana Torres",
"department": "Support",
"leave_type": "Holiday",
"from": "2026-11-23",
"to": "2026-11-27",
"days": 5,
"reason": "Family visit",
"requested_on": "2026-10-19",
"approver": "Priya Nair",
"clashes": [
{
"employee": "Ben Okafor",
"from": "2026-11-25",
"to": "2026-11-27"
}
]
},
{
"request_id": "5128861",
"employee": "Tomas Lind",
"department": "Support",
"leave_type": "Holiday",
"from": "2026-12-07",
"to": "2026-12-11",
"days": 5,
"reason": "",
"requested_on": "2026-10-20",
"approver": "Priya Nair",
"clashes": []
}
]
}