Overrides
Get a schedule override
Using the API
Schedules
- GETList schedules
- POSTCreate a schedule
- GETGet a schedule
- DELDelete a schedule
- PATCHUpdate a schedule
- GETList schedule shifts
- GETGet the Slack user group for a schedule
- PUTAttach or update the Slack user group for a schedule
- DELDetach the Slack user group from a schedule
- GETList linked schedule Slack channels
- PUTLink a Slack channel to a schedule
- DELUnlink a Slack channel from a schedule
Overrides
Coverage
Overrides
Get a schedule override
Get a schedule override by its ID.
GET
/
schedules
/
{schedule_id}
/
overrides
/
{override_id}
curl --request GET \
--url https://api.shiftkeeper.io/schedules/{schedule_id}/overrides/{override_id} \
--header 'x-api-key: <api-key>'
{
"override": {
"id": "ovr_i9fo8GI1YBAQhtoArC3N1",
"start": "2024-12-01T00:00:00Z",
"end": "2024-12-08T00:00:00Z",
"users": [
{
"id": "usr_C0GwCFdk0I4pBMRny4qYV",
"name": "Dena",
"email": "dena@example.org",
"role": "standard",
"seat": "member",
"slack_id": "U082GMAFR1T"
}
]
}
}
Authorizations
Enter your API key which starts with 'keeper_'
Path Parameters
The ID of the override.
The ID of the schedule.
Response
200
application/json
Default Response
The ID of the override.
The start date and time of the override.
The end date and time of the override.
The on-call users during the override.
The ID of the user.
The name of the user.
The email of the user.
The role of the user. Learn more about roles in our docs.
Available options:
owner
, standard
The seat of the user. Learn more about seat in our docs.
Available options:
viewer
, member
The preferred time zone of the user. If not set, the organization's time zone will be used.
The Slack ID of the user.
curl --request GET \
--url https://api.shiftkeeper.io/schedules/{schedule_id}/overrides/{override_id} \
--header 'x-api-key: <api-key>'
{
"override": {
"id": "ovr_i9fo8GI1YBAQhtoArC3N1",
"start": "2024-12-01T00:00:00Z",
"end": "2024-12-08T00:00:00Z",
"users": [
{
"id": "usr_C0GwCFdk0I4pBMRny4qYV",
"name": "Dena",
"email": "dena@example.org",
"role": "standard",
"seat": "member",
"slack_id": "U082GMAFR1T"
}
]
}
}