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": "76d9f97c-f3e6-4176-940a-94630391e691",
      "type": "shifts",
      "attributes": {
        "schedule_id": "55f69068-185e-495a-bcf6-80d8338341b3",
        "rotation_id": "de47aacc-26f6-45fa-8402-b879521913de",
        "starts_at": "2025-09-18T18:58:52.000-07:00",
        "ends_at": "2025-09-18T22:58:52.000-07:00",
        "is_override": true
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "465",
            "type": "users"
          }
        }
      }
    },
    {
      "id": "8a617a6d-824f-4e0b-af44-6c8470c54183",
      "type": "shifts",
      "attributes": {
        "schedule_id": "55f69068-185e-495a-bcf6-80d8338341b3",
        "rotation_id": "3ba1ec19-b01d-4346-b8d4-69c341753c2f",
        "starts_at": "2025-09-18T23:58:53.000-07:00",
        "ends_at": "2025-09-19T03:58:53.000-07:00",
        "is_override": false
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "469",
            "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

schedule shifts found

data
object[]
required