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>",
"owner_user_id": 123,
"description": "<string>",
"all_time_coverage": true,
"slack_user_group": {
"id": "<string>",
"name": "<string>"
},
"slack_channel": {
"id": "<string>",
"name": "<string>"
},
"owner_group_ids": [
"<string>"
]
}
}
}
'{
"data": {
"id": "9f129db3-4ced-4640-89b9-8f758e31a19d",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": null,
"owner_user_id": 880,
"owner_group_ids": [
"f3a8ac05-6481-453a-b952-be12a2b4d442"
],
"created_at": "2026-01-23T23:00:25.077-08:00",
"updated_at": "2026-01-23T23:00:25.077-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "880",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}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>",
"owner_user_id": 123,
"description": "<string>",
"all_time_coverage": true,
"slack_user_group": {
"id": "<string>",
"name": "<string>"
},
"slack_channel": {
"id": "<string>",
"name": "<string>"
},
"owner_group_ids": [
"<string>"
]
}
}
}
'{
"data": {
"id": "9f129db3-4ced-4640-89b9-8f758e31a19d",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": null,
"owner_user_id": 880,
"owner_group_ids": [
"f3a8ac05-6481-453a-b952-be12a2b4d442"
],
"created_at": "2026-01-23T23:00:25.077-08:00",
"updated_at": "2026-01-23T23:00:25.077-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "880",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}