GET
/
v1
/
schedules
/
{id}
/
shifts
curl --request GET \
  --url https://api.rootly.com/v1/schedules/{id}/shifts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "0dd732c7-04a9-450d-92a0-a7396525f13e",
      "type": "shifts",
      "attributes": {
        "schedule_id": "e9c255a3-a509-4ac1-94b8-126dd7c4e947",
        "rotation_id": "ef5fd574-e245-4602-ade9-22c7cdff62fc",
        "starts_at": "2025-07-06T12:13:05.000-07:00",
        "ends_at": "2025-07-06T16:13:05.000-07:00",
        "is_override": true
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "448",
            "type": "users"
          }
        }
      }
    },
    {
      "id": "77b93b29-ccc0-4e7d-bc61-c1ab7f05fd02",
      "type": "shifts",
      "attributes": {
        "schedule_id": "e9c255a3-a509-4ac1-94b8-126dd7c4e947",
        "rotation_id": "82c6f2d8-a9a8-4400-91bf-8957bfdbacb1",
        "starts_at": "2025-07-06T17:13:06.000-07:00",
        "ends_at": "2025-07-06T21:13:06.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.