Skip to main content
GET
/
v1
/
scheduling
/
shifts
Get shifts
curl --request GET \
  --url http://localhost:3000/v1/scheduling/shifts
{
  "schedules": [
    {
      "date": "<string>",
      "shifts": [
        {
          "id": 123,
          "employee_name": "<string>",
          "employee_id": 123,
          "date": "<string>",
          "start_time": "<string>",
          "end_time": "<string>",
          "hours": 123,
          "area": "<string>",
          "role": "<string>",
          "published": true,
          "open": true
        }
      ]
    }
  ],
  "deputy_configured": true
}

Query Parameters

days
integer
default:7

Number of days to fetch

Required range: 1 <= x <= 90
Example:

7

Response

Shifts data

Get shifts response

schedules
object[]
required
deputy_configured
enum<boolean>
required
Available options:
true,
false