GET
/
v1
/
schedules
/
{id}
/
shifts
Retrieves a schedule shifts
curl --request GET \
  --url https://api.rootly.com/v1/schedules/{id}/shifts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "78cf1d92-1d3d-470d-a938-00321d21d976",
      "type": "shifts",
      "attributes": {
        "schedule_id": "ef499461-b6e6-4e08-bb98-a4106bcdca43",
        "rotation_id": "c055d13d-85fc-482c-8818-ce799200ecf3",
        "starts_at": "2025-07-17T09:07:12.000-07:00",
        "ends_at": "2025-07-17T13:07:12.000-07:00",
        "is_override": true
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "449",
            "type": "users"
          }
        }
      }
    },
    {
      "id": "ded98ad1-f236-4cff-a1a5-7e7b850849ec",
      "type": "shifts",
      "attributes": {
        "schedule_id": "ef499461-b6e6-4e08-bb98-a4106bcdca43",
        "rotation_id": "63f0e5af-245b-4326-be42-37479d7d67cb",
        "starts_at": "2025-07-17T14:07:13.000-07:00",
        "ends_at": "2025-07-17T18:07:13.000-07:00",
        "is_override": false
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "453",
            "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.