GET
/
v1
/
schedules
/
{id}
/
shifts
curl --request GET \
  --url https://api.rootly.com/v1/schedules/{id}/shifts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "55380b59-84ce-4e87-9ff5-e1b23af9a1cf",
      "type": "shifts",
      "attributes": {
        "schedule_id": "29b93ec8-2fa8-43ab-9543-1f7adff0a78d",
        "rotation_id": "45446c14-9776-4430-85d3-9e6cbce624af",
        "starts_at": "2025-07-08T01:47:55.000-07:00",
        "ends_at": "2025-07-08T05:47:55.000-07:00",
        "is_override": true
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "448",
            "type": "users"
          }
        }
      }
    },
    {
      "id": "b599ce1f-940c-4298-bbf5-e97f81162550",
      "type": "shifts",
      "attributes": {
        "schedule_id": "29b93ec8-2fa8-43ab-9543-1f7adff0a78d",
        "rotation_id": "bb4299f2-ac7b-4836-a9d6-769e16f67d85",
        "starts_at": "2025-07-08T06:47:55.000-07:00",
        "ends_at": "2025-07-08T10:47:55.000-07:00",
        "is_override": false
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "452",
            "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.