GET
/
v1
/
schedules
/
{id}
/
shifts
curl --request GET \
  --url https://api.rootly.com/v1/schedules/{id}/shifts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "02ea0bac-dd43-42d1-9a82-82f8722e5e6d",
      "type": "shifts",
      "attributes": {
        "schedule_id": "3ed38305-f1b7-40ab-b857-f2c48f538d93",
        "rotation_id": "7a4e71ff-f0bc-4e25-8632-9ef30154fa5d",
        "starts_at": "2025-05-07T22:24:35.000-07:00",
        "ends_at": "2025-05-08T02:24:35.000-07:00",
        "is_override": true
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "438",
            "type": "users"
          }
        }
      }
    },
    {
      "id": "0d809f2c-0db3-4bb2-adc3-8bda2d301b8a",
      "type": "shifts",
      "attributes": {
        "schedule_id": "3ed38305-f1b7-40ab-b857-f2c48f538d93",
        "rotation_id": "473a0433-44e2-45fd-be84-b78bab847e26",
        "starts_at": "2025-05-08T03:24:36.000-07:00",
        "ends_at": "2025-05-08T07:24:36.000-07:00",
        "is_override": false
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "442",
            "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.