v4
OpenAPI 3.1.02026-08-034697208.8 KBList Shifts
The shifts endpoint allows you to query for ongoing and completed work performed by an end user. It includes details about shift dates, timestamps, the type of work, and associated earnings. Shifts are returned in reverse chronological order by end_date. This is a paginated endpoint; see how Pinwheel implements pagination <a href='https://docs.pinwheelapi.com/docs/pagination-1' target='_blank'>here</a>.
Path parameters
UUID of the payroll account.
UUID of the payroll account.
Query parameters
Return shifts where the start_date field is on or after this date. ISO 8601 format.
Return shifts where the start_date field is on or after this date. ISO 8601 format.
Return shifts where the start_date field is on or before this date. ISO 8601 format.
Return shifts where the start_date field is on or before this date. ISO 8601 format.
Return shifts where the end_date field is on or after this date. ISO 8601 format.
Return shifts where the end_date field is on or after this date. ISO 8601 format.
Return shifts where the end_date field is on or before this date. ISO 8601 format.
Return shifts where the end_date field is on or before this date. ISO 8601 format.
The maximum number of results to return.
The maximum number of results to return.
Cursor for the page you want to retrieve.
Cursor for the page you want to retrieve.
Headers
Version identifier specifying how the Pinwheel API should behave. See the Change Management page for more information.
Response
OK