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": "32615258-2fee-437b-9429-c67b82263a2b",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": null,
"owner_user_id": 984,
"owner_group_ids": [
"ac24d779-49e0-46e1-919b-540094f67c18"
],
"created_at": "2026-02-13T02:02:30.588-08:00",
"updated_at": "2026-02-13T02:02:30.588-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "984",
"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": "32615258-2fee-437b-9429-c67b82263a2b",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": null,
"owner_user_id": 984,
"owner_group_ids": [
"ac24d779-49e0-46e1-919b-540094f67c18"
],
"created_at": "2026-02-13T02:02:30.588-08:00",
"updated_at": "2026-02-13T02:02:30.588-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "984",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}