v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Attendance > OpenShift

Reads all Open shifts

This endpoint retrieves the current open shifts for the specified employee_ids.

get/api/2026-07-01/resources/attendance/open_shifts

Query parameters

employee_ids[]string[]

Employee ids to filter the open shifts by.

Employee ids to filter the open shifts by.

[
  "1",
  "2",
  "3"
]

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "employee_id": "1",
      "date": "2024-06-06",
      "reference_date": "2024-06-06",
      "clock_in": "2000-01-01T02:35:25.000Z",
      "status": "opened",
      "workable": true,
      "location_type": "work_from_home",
      "workplace_id": "1",
      "time_settings_break_configuration_id": "1"
    }
  ]
}