GET
/
v1
/
schedules
/
{id}
/
shifts
curl --request GET \
  --url https://api.rootly.com/v1/schedules/{id}/shifts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "6aa9d7d8-802b-4f89-b188-d8506ade207e",
      "type": "shifts",
      "attributes": {
        "schedule_id": "aed49e6f-5c30-4702-ae25-fd09b2e72c48",
        "rotation_id": "682b28d6-13e4-4938-8d4f-8c9a10b51198",
        "starts_at": "2025-06-19T02:17:36.000-07:00",
        "ends_at": "2025-06-19T06:17:36.000-07:00",
        "is_override": true
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "446",
            "type": "users"
          }
        }
      }
    },
    {
      "id": "d22d40da-5596-4f42-853c-83a116adec99",
      "type": "shifts",
      "attributes": {
        "schedule_id": "aed49e6f-5c30-4702-ae25-fd09b2e72c48",
        "rotation_id": "142f8a5a-684c-4961-ad13-341d960c1f7a",
        "starts_at": "2025-06-19T07:17:36.000-07:00",
        "ends_at": "2025-06-19T11:17:36.000-07:00",
        "is_override": false
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "450",
            "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.