List shift exchange requests

List shift exchanges that wait for approval.

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

read

Returns exchanges where a colleague has accepted the shift and a manager still has to decide. Each has the shift, the original owner and the colleague. Offers nobody accepted are left out. Only a user with the Approve exchanges permission sees them.

Parameters

Parameters: list_exchange_requests
NameTypeDescription
department_id string string Only this department.

Request

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

Example response

JSON

{
  "exchanges": [
    {
      "id": "2290",
      "shift_id": "90421",
      "date": "2026-10-25",
      "start": "16:00",
      "end": "23:00",
      "from_employee": "Lena Ortiz",
      "to_employee": "Sam Okafor"
    }
  ]
}

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.