Kiosk shifts

List kiosk punches

View as Markdown

GEThttps://paysuitett.com/api/v1/kiosk-punches

Each tap at a kiosk behind the shifts: clock-ins, clock-outs, breaks and adjustments, between two business days (Trinidad), oldest first. `event_at` is UTC. Pages with a cursor: when `next_cursor` isn't null, send it back as `cursor` for the next page; punches are ordered by `event_at` then `id`, so no punch is repeated or skipped between pages.

Access. Master or reader key.

Query parameters

startstring · daterequired
First business day, YYYY-MM-DD.
endstring · daterequired
Last business day, YYYY-MM-DD.
employee_idstring · uuid
Only this worker's punches (an ID from GET /employees).
limitinteger
Most punches to return, 1 to 5,000. Defaults to 1,000.
cursorstring
`next_cursor` from the previous page, unchanged.

Response

200 with a JSON body, as in the example.

  • `event_type` is clock_in, clock_out, break_start, break_end or manual_adjustment. `shift_id`, `kiosk_id` and `device_id` are null when a punch didn't come from a kiosk (`source` says where it came from).
  • A shift's corrected times are on GET /kiosk-shifts; punches are what was tapped.