Shifts

Shifts record staff check-ins, check-outs and breaks.

Get shifts

GET /v1/companies/5678/shifts/2013-04-29 Get all shifts that started on a given date
GET /v1/companies/5678/shifts/since/2013-04-29 On or after a given date
GET /v1/companies/5678/sites/208/shifts/since/2013-04-29 By site
GET /v1/companies/5678/staff/9022/shifts/since/2013-04-29 By staff member
  • You must specify a date, either with or without the since keyword.
  • You can specify either a sites or staff filter, but not both. If you specify a staff filter, the staff_member element will be omitted, as will site if a sites filter is specified.

Webhooks

Here is a list of the supported webhook topics.

shifts/end

When a shift ends. You will receive the complete shifts.

shifts/endbreak

When a break on an active shift ends. You will receive the complete shifts.

shifts/start

When a shift starts. You will receive the complete shifts.

shifts/startbreak

When a break on an active shift starts. You will receive the complete shifts.