Skip to main content
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": "f24eff91-f08e-5b28-9f4b-a79a2e0aa06b",
      "type": "shifts",
      "attributes": {
        "schedule_id": "5b8441c9-3711-4d3e-a993-f8215d023e1f",
        "rotation_id": "00bd4a37-410f-4ba9-afb2-e002f0068ed1",
        "starts_at": "2025-10-30T03:34:31.000-07:00",
        "ends_at": "2025-10-30T07:34:31.000-07:00",
        "is_override": true
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "513",
            "type": "users"
          }
        }
      }
    },
    {
      "id": "3a6a8adf-fa96-592f-b5bf-0816494d1231",
      "type": "shifts",
      "attributes": {
        "schedule_id": "5b8441c9-3711-4d3e-a993-f8215d023e1f",
        "rotation_id": "dd2a7ce5-d72e-4d85-b604-98d938050910",
        "starts_at": "2025-10-30T08:34:31.000-07:00",
        "ends_at": "2025-10-30T12:34:31.000-07:00",
        "is_override": false
      },
      "relationships": {
        "shift_override": {
          "data": null
        },
        "user": {
          "data": {
            "id": "517",
            "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