Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
returns assignee relationship when schedule nesting enabled
Creates a new override shift from provided data
curl --request POST \
--url https://api.rootly.com/v1/schedules/{schedule_id}/override_shifts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "shifts",
"attributes": {
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"user_id": 123
}
}
}'{
"data": {
"id": "02727ea1-0915-50f6-8c52-c87393646b73",
"type": "shifts",
"attributes": {
"schedule_id": "2a66e561-7c50-481a-b4b3-5b79badf18be",
"rotation_id": null,
"starts_at": "2025-11-06T15:28:13.000-08:00",
"ends_at": "2025-11-07T13:28:13.000-08:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": {
"id": "9d26ff2d-0a93-4010-be1d-4a887187934c",
"type": "shift_overrides"
}
},
"user": {
"data": {
"id": "396",
"type": "users"
}
},
"assignee": {
"data": {
"id": "396",
"type": "users"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
returns assignee relationship when schedule nesting enabled
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/schedules/{schedule_id}/override_shifts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "shifts",
"attributes": {
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"user_id": 123
}
}
}'{
"data": {
"id": "02727ea1-0915-50f6-8c52-c87393646b73",
"type": "shifts",
"attributes": {
"schedule_id": "2a66e561-7c50-481a-b4b3-5b79badf18be",
"rotation_id": null,
"starts_at": "2025-11-06T15:28:13.000-08:00",
"ends_at": "2025-11-07T13:28:13.000-08:00",
"is_override": true
},
"relationships": {
"shift_override": {
"data": {
"id": "9d26ff2d-0a93-4010-be1d-4a887187934c",
"type": "shift_overrides"
}
},
"user": {
"data": {
"id": "396",
"type": "users"
}
},
"assignee": {
"data": {
"id": "396",
"type": "users"
}
}
}
}
}