POST
/
v1
/
escalation_policies
/
{escalation_policy_id}
/
escalation_paths
curl --request POST \
  --url https://api.rootly.com/v1/escalation_policies/%7Bescalation_policy_id%7D/escalation_paths \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "d8b47d69-4f9d-47a5-a08b-caf302779bb8",
    "type": "escalation_paths",
    "attributes": {
      "name": "Test EP Path",
      "default": false,
      "notification_type": "quiet",
      "escalation_policy_id": "3a26e6a1-c067-4dfe-8848-9a898421069a",
      "match_mode": "match-all-rules",
      "position": 1,
      "repeat": true,
      "repeat_count": 3,
      "created_at": "2025-03-11T19:09:42.629-07:00",
      "updated_at": "2025-03-11T19:09:42.663-07:00",
      "rules": [
        {
          "rule_type": "alert_urgency",
          "urgency_ids": [
            "96882709-2b90-400e-a657-c336d11e4259"
          ]
        },
        {
          "rule_type": "working_hour",
          "within_working_hour": true
        },
        {
          "rule_type": "json_path",
          "json_path": "$.title",
          "operator": "is",
          "value": "Test"
        }
      ]
    },
    "relationships": {
      "escalation_levels": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

escalation_policy_id
string
required

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
escalation path created
data
object
required