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>"
},
"owner_group_ids": [
"<string>"
],
"owner_user_id": 123
}
}
}'
{
"data": {
"id": "41639212-0c3a-464c-a98c-781f76c0121f",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"owner_user_id": 424,
"owner_group_ids": [
"57c4300b-a83e-49bb-bf1a-3cd5864051a9"
],
"created_at": "2025-08-07T22:40:50.328-07:00",
"updated_at": "2025-08-07T22:40:50.328-07:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "424",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
schedule created
The response is of type object
.
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>"
},
"owner_group_ids": [
"<string>"
],
"owner_user_id": 123
}
}
}'
{
"data": {
"id": "41639212-0c3a-464c-a98c-781f76c0121f",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"owner_user_id": 424,
"owner_group_ids": [
"57c4300b-a83e-49bb-bf1a-3cd5864051a9"
],
"created_at": "2025-08-07T22:40:50.328-07:00",
"updated_at": "2025-08-07T22:40:50.328-07:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "424",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}