GET
/
v1
/
schedules
/
{id}
/
shifts
curl --request GET \
  --url https://api.rootly.com/v1/schedules/{id}/shifts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "ddc9b936-1e3c-4521-83ae-6faf4dc7cf63",
      "type": "shifts",
      "attributes": {
        "schedule_id": "39836e3a-3374-4be6-95bf-d099e08416b4",
        "rotation_id": "db29f7f2-4d39-4002-b60b-1deda777d246",
        "starts_at": "2025-05-29T15:48:15.000-07:00",
        "ends_at": "2025-05-29T19:48:15.000-07:00",
        "is_override": true
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "436",
            "type": "users"
          }
        }
      }
    },
    {
      "id": "40906915-123b-4bbe-a185-2e4f36258cfe",
      "type": "shifts",
      "attributes": {
        "schedule_id": "39836e3a-3374-4be6-95bf-d099e08416b4",
        "rotation_id": "c76ab24a-5349-48b6-871d-26f80fcb3c3c",
        "starts_at": "2025-05-29T20:48:16.000-07:00",
        "ends_at": "2025-05-30T00:48:16.000-07:00",
        "is_override": false
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "440",
            "type": "users"
          }
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

to
string
from
string

Response

200
application/vnd.api+json

schedule shifts found

The response is of type object.