Creates a new schedule from provided data
curl --request POST \
--url https://api.rootly.com/v1/schedules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "schedules",
"attributes": {
"name": "<string>",
"description": "<string>",
"all_time_coverage": true,
"slack_user_group": {
"id": "<string>",
"name": "<string>"
},
"slack_channel": {
"id": "<string>",
"name": "<string>"
},
"owner_group_ids": [
"<string>"
],
"owner_user_id": 123
}
}
}
'{
"data": {
"id": "6b88a871-aee9-49b8-9bc9-ccd579f325b4",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": null,
"owner_user_id": 536,
"owner_group_ids": [
"1b790c74-f088-483e-b687-53f8e4b66b1a"
],
"created_at": "2025-12-11T14:50:32.067-08:00",
"updated_at": "2025-12-11T14:50:32.067-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "536",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
schedules Show child attributes
The name of the schedule
The description of the schedule
24/7 coverage of the schedule
Owning teams.
ID of the owner of the schedule
schedule created
Show child attributes
Unique id of schedule
schedules Show child attributes
The name of the schedule
Date of creation
Date of last update
The description of the schedule
24/7 coverage of the schedule
Owning teams.
ID of user assigned as owner of the schedule
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/schedules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "schedules",
"attributes": {
"name": "<string>",
"description": "<string>",
"all_time_coverage": true,
"slack_user_group": {
"id": "<string>",
"name": "<string>"
},
"slack_channel": {
"id": "<string>",
"name": "<string>"
},
"owner_group_ids": [
"<string>"
],
"owner_user_id": 123
}
}
}
'{
"data": {
"id": "6b88a871-aee9-49b8-9bc9-ccd579f325b4",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": null,
"owner_user_id": 536,
"owner_group_ids": [
"1b790c74-f088-483e-b687-53f8e4b66b1a"
],
"created_at": "2025-12-11T14:50:32.067-08:00",
"updated_at": "2025-12-11T14:50:32.067-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "536",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}