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": "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"
}
}
}
}
]
}
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": "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"
}
}
}
}
]
}