Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/vnd.api+json
Response
schedule created
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": "acc70f2c-7df9-4c49-9586-c62e54ff4d1b",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": null,
"owner_user_id": 490,
"owner_group_ids": [
"36ed4a27-908c-49df-a9eb-f9ade64d3d29"
],
"created_at": "2025-11-27T00:12:30.751-08:00",
"updated_at": "2025-11-27T00:12:30.751-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "490",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
schedule created
Show child attributes
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": "acc70f2c-7df9-4c49-9586-c62e54ff4d1b",
"type": "schedules",
"attributes": {
"name": "Schedule Name",
"description": "Schedule Description",
"all_time_coverage": true,
"slack_user_group": {},
"slack_channel": null,
"owner_user_id": 490,
"owner_group_ids": [
"36ed4a27-908c-49df-a9eb-f9ade64d3d29"
],
"created_at": "2025-11-27T00:12:30.751-08:00",
"updated_at": "2025-11-27T00:12:30.751-08:00"
},
"relationships": {
"owner_user": {
"data": {
"id": "490",
"type": "users"
}
},
"escalation_policies": {
"data": []
}
}
}
}