List shift swaps and drops
wheniwork_list_shift_swapsList shift requests: swaps, drops and alerts, with the shifts and users involved. Status: 0 pending, 1 approved, 2 declined, 3 completed, 4 canceled, 5 expired. Type: 1 swap, 2 drop, 3 alert. start and end must be given together. When I Work: GET /2/swaps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of the shift window (give with start). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500"). | |
| page | No | Page of results to load (the response says whether there are `more`). | |
| type | No | One or more types. | |
| limit | No | Maximum number of results. | |
| start | No | Start of the shift window (give with end). Date-time, e.g. 2026-10-05T08:00:00-05:00 (When I Work's own examples also use RFC 2822, e.g. "Mon, 05 Oct 2026 08:00:00 -0500"). | |
| status | No | One or more statuses. | |
| user_id | No | One or more user ids. | |
| shift_id | No | One or more shift ids. | |
| open_only | No | Only open swaps. |