Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
escalation path created
Creates a new escalation path from provided data
curl --request POST \
--url https://api.rootly.com/v1/escalation_policies/{escalation_policy_id}/escalation_paths \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "escalation_paths",
"attributes": {
"name": "<string>",
"notification_type": "audible",
"default": true,
"match_mode": "match-all-rules",
"position": 123,
"repeat": true,
"repeat_count": 123,
"initial_delay": 123,
"rules": [
{
"rule_type": "alert_urgency",
"urgency_ids": [
"<any>"
]
}
],
"time_restriction_time_zone": "International Date Line West",
"time_restrictions": [
{
"start_day": "monday",
"start_time": "<string>",
"end_day": "monday",
"end_time": "<string>"
}
]
}
}
}'
{
"data": {
"id": "d784707b-53e7-4d5a-9ab2-de2a27ebd7d6",
"type": "escalation_paths",
"attributes": {
"name": "Test EP Path",
"default": false,
"notification_type": "quiet",
"escalation_policy_id": "d6cde886-82dd-47ca-bda6-7df63c6181fe",
"match_mode": "match-all-rules",
"position": 1,
"repeat": true,
"repeat_count": 3,
"initial_delay": 0,
"time_restriction_time_zone": "America/Los_Angeles",
"time_restrictions": [
{
"start_day": "monday",
"start_time": "17:00",
"end_day": "tuesday",
"end_time": "07:00"
},
{
"start_day": "wednesday",
"start_time": "07:00",
"end_day": "wednesday",
"end_time": "17:00"
}
],
"created_at": "2025-10-14T22:05:14.471-07:00",
"updated_at": "2025-10-14T22:05:14.502-07:00",
"rules": [
{
"rule_type": "alert_urgency",
"urgency_ids": [
"341bfcf1-c1a7-4072-8e37-ff4471c6f584"
]
},
{
"rule_type": "working_hour",
"within_working_hour": true
},
{
"rule_type": "json_path",
"json_path": "$.title",
"operator": "is",
"value": "Test"
}
]
},
"relationships": {
"escalation_levels": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
escalation path created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/escalation_policies/{escalation_policy_id}/escalation_paths \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "escalation_paths",
"attributes": {
"name": "<string>",
"notification_type": "audible",
"default": true,
"match_mode": "match-all-rules",
"position": 123,
"repeat": true,
"repeat_count": 123,
"initial_delay": 123,
"rules": [
{
"rule_type": "alert_urgency",
"urgency_ids": [
"<any>"
]
}
],
"time_restriction_time_zone": "International Date Line West",
"time_restrictions": [
{
"start_day": "monday",
"start_time": "<string>",
"end_day": "monday",
"end_time": "<string>"
}
]
}
}
}'
{
"data": {
"id": "d784707b-53e7-4d5a-9ab2-de2a27ebd7d6",
"type": "escalation_paths",
"attributes": {
"name": "Test EP Path",
"default": false,
"notification_type": "quiet",
"escalation_policy_id": "d6cde886-82dd-47ca-bda6-7df63c6181fe",
"match_mode": "match-all-rules",
"position": 1,
"repeat": true,
"repeat_count": 3,
"initial_delay": 0,
"time_restriction_time_zone": "America/Los_Angeles",
"time_restrictions": [
{
"start_day": "monday",
"start_time": "17:00",
"end_day": "tuesday",
"end_time": "07:00"
},
{
"start_day": "wednesday",
"start_time": "07:00",
"end_day": "wednesday",
"end_time": "17:00"
}
],
"created_at": "2025-10-14T22:05:14.471-07:00",
"updated_at": "2025-10-14T22:05:14.502-07:00",
"rules": [
{
"rule_type": "alert_urgency",
"urgency_ids": [
"341bfcf1-c1a7-4072-8e37-ff4471c6f584"
]
},
{
"rule_type": "working_hour",
"within_working_hour": true
},
{
"rule_type": "json_path",
"json_path": "$.title",
"operator": "is",
"value": "Test"
}
]
},
"relationships": {
"escalation_levels": {
"data": []
}
}
}
}