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": "1e338bca-f9fc-59d9-9d1c-dd7249556b60",
"type": "shifts",
"attributes": {
"schedule_id": "fe66e5d8-c76b-4aab-a546-1f025b0aab67",
"rotation_id": "3fb0fed4-7bc0-4867-9e73-6aa523671cc3",
"user_id": 515,
"starts_at": "2025-11-26T22:12:28.000-08:00",
"ends_at": "2025-11-27T02:12:28.000-08:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "515",
"type": "users"
}
}
}
},
{
"id": "e7cef94f-827e-5557-99b2-ddf29bee6810",
"type": "shifts",
"attributes": {
"schedule_id": "fe66e5d8-c76b-4aab-a546-1f025b0aab67",
"rotation_id": "52da532b-c692-4a42-a296-10e428de3c2b",
"user_id": 519,
"starts_at": "2025-11-27T03:12:29.000-08:00",
"ends_at": "2025-11-27T07:12:29.000-08:00",
"is_override": false
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "519",
"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": "1e338bca-f9fc-59d9-9d1c-dd7249556b60",
"type": "shifts",
"attributes": {
"schedule_id": "fe66e5d8-c76b-4aab-a546-1f025b0aab67",
"rotation_id": "3fb0fed4-7bc0-4867-9e73-6aa523671cc3",
"user_id": 515,
"starts_at": "2025-11-26T22:12:28.000-08:00",
"ends_at": "2025-11-27T02:12:28.000-08:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "515",
"type": "users"
}
}
}
},
{
"id": "e7cef94f-827e-5557-99b2-ddf29bee6810",
"type": "shifts",
"attributes": {
"schedule_id": "fe66e5d8-c76b-4aab-a546-1f025b0aab67",
"rotation_id": "52da532b-c692-4a42-a296-10e428de3c2b",
"user_id": 519,
"starts_at": "2025-11-27T03:12:29.000-08:00",
"ends_at": "2025-11-27T07:12:29.000-08:00",
"is_override": false
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "519",
"type": "users"
}
}
}
}
]
}