get https://api.getpinwheel.com/v1/accounts//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 here.