List absence requests

List absence and leave requests.

GET https://cotlet.dev/api/v1/shiftbase/absence-requests

read

Returns each request with employee, dates, absence policy and status, oldest first. Without a status it returns the requests that still wait for a decision. Which requests appear depends on the departments your role can open.

Parameters

Parameters: list_absence_requests
NameTypeDescription
status string string One of pending, approved, declined.
department_id string string Only this department.

Request

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

Example response

JSON

{
  "requests": [
    {
      "id": "7731",
      "employee": "Lena Ortiz",
      "department": "Harbor Cafe",
      "from": "2026-11-03",
      "to": "2026-11-07",
      "policy": "Holiday",
      "status": "pending"
    }
  ]
}

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.