Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
schedule shifts found
Retrieves schedule shifts
curl --request GET \
--url https://api.rootly.com/v1/schedules/{id}/shifts \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "d46062bf-84d0-5bdd-a43a-1fcd307f174c",
"type": "shifts",
"attributes": {
"schedule_id": "139f42b5-91a7-4d4f-8de4-f4c19837e37d",
"rotation_id": "b6ccfad0-2714-4509-bb98-99184cc27ea4",
"starts_at": "2025-10-09T06:40:29.000-07:00",
"ends_at": "2025-10-09T10:40:29.000-07:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "491",
"type": "users"
}
}
}
},
{
"id": "f7365c2e-9976-5bd8-9cbf-3a3eb68e3430",
"type": "shifts",
"attributes": {
"schedule_id": "139f42b5-91a7-4d4f-8de4-f4c19837e37d",
"rotation_id": "2cbbffbd-a52e-4db8-a76f-0f2a9de86917",
"starts_at": "2025-10-09T11:40:30.000-07:00",
"ends_at": "2025-10-09T15:40:30.000-07:00",
"is_override": false
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "495",
"type": "users"
}
}
}
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
schedule shifts found
Show child attributes
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/schedules/{id}/shifts \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "d46062bf-84d0-5bdd-a43a-1fcd307f174c",
"type": "shifts",
"attributes": {
"schedule_id": "139f42b5-91a7-4d4f-8de4-f4c19837e37d",
"rotation_id": "b6ccfad0-2714-4509-bb98-99184cc27ea4",
"starts_at": "2025-10-09T06:40:29.000-07:00",
"ends_at": "2025-10-09T10:40:29.000-07:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "491",
"type": "users"
}
}
}
},
{
"id": "f7365c2e-9976-5bd8-9cbf-3a3eb68e3430",
"type": "shifts",
"attributes": {
"schedule_id": "139f42b5-91a7-4d4f-8de4-f4c19837e37d",
"rotation_id": "2cbbffbd-a52e-4db8-a76f-0f2a9de86917",
"starts_at": "2025-10-09T11:40:30.000-07:00",
"ends_at": "2025-10-09T15:40:30.000-07:00",
"is_override": false
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "495",
"type": "users"
}
}
}
}
]
}