Retrieves schedule shifts
curl --request GET \
--url https://api.rootly.com/v1/schedules/{id}/shifts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "1fbc1d39-1985-5734-8160-c70cb912ce61",
"type": "shifts",
"attributes": {
"schedule_id": "e46ab977-20d2-41f3-9c6b-95a4a60bef9e",
"rotation_id": "0fd11ab3-2216-43bf-b876-295bdb043f31",
"user_id": 561,
"starts_at": "2025-12-10T16:29:43.000-08:00",
"ends_at": "2025-12-10T20:29:43.000-08:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "561",
"type": "users"
}
}
}
},
{
"id": "26c9ab68-dc60-57f0-8ee6-8166eb0628f6",
"type": "shifts",
"attributes": {
"schedule_id": "e46ab977-20d2-41f3-9c6b-95a4a60bef9e",
"rotation_id": "3e99a2a1-73c0-4612-8b5a-8463ce857897",
"user_id": 565,
"starts_at": "2025-12-10T21:29:44.000-08:00",
"ends_at": "2025-12-11T01:29:44.000-08:00",
"is_override": false
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "565",
"type": "users"
}
}
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
schedule shifts found
Show child attributes
Unique ID of the shift
shifts Show child attributes
ID of schedule
ID of rotation
Start datetime of shift
End datetime of shift
Denotes shift is an override shift
Override metadata
Show child attributes
Show child attributes
Unique ID of the shift override
shift_override Show child attributes
ID of shift
User who created the override
Date of creation
Date of last update
User metadata
Show child attributes
Show child attributes
Unique ID of the user
users Show child attributes
The email of the user
Date of creation
Date of last update
First name of the user
Last name of the user
The full name of the user
The full name with team of the user
Configured time zone
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": "1fbc1d39-1985-5734-8160-c70cb912ce61",
"type": "shifts",
"attributes": {
"schedule_id": "e46ab977-20d2-41f3-9c6b-95a4a60bef9e",
"rotation_id": "0fd11ab3-2216-43bf-b876-295bdb043f31",
"user_id": 561,
"starts_at": "2025-12-10T16:29:43.000-08:00",
"ends_at": "2025-12-10T20:29:43.000-08:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "561",
"type": "users"
}
}
}
},
{
"id": "26c9ab68-dc60-57f0-8ee6-8166eb0628f6",
"type": "shifts",
"attributes": {
"schedule_id": "e46ab977-20d2-41f3-9c6b-95a4a60bef9e",
"rotation_id": "3e99a2a1-73c0-4612-8b5a-8463ce857897",
"user_id": 565,
"starts_at": "2025-12-10T21:29:44.000-08:00",
"ends_at": "2025-12-11T01:29:44.000-08:00",
"is_override": false
},
"relationships": {
"shift_override": {
"data": null
},
"user": {
"data": {
"id": "565",
"type": "users"
}
}
}
}
]
}