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
| Name | Type | Description |
|---|---|---|
| department_id string | string | Only this department. |
Request
curl https://cotlet.dev/api/v1/shiftbase/exchange-requests \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("shiftbase", "list_exchange_requests") const result = await cotlet.call('shiftbase', 'list_exchange_requests'); cotlet call shiftbase list_exchange_requests Example response
{
"exchanges": [
{
"id": "2290",
"shift_id": "90421",
"date": "2026-10-25",
"start": "16:00",
"end": "23:00",
"from_employee": "Lena Ortiz",
"to_employee": "Sam Okafor"
}
]
}