POST
/
v1
/
escalation_policies
/
{escalation_policy_id}
/
escalation_levels
curl --request POST \
  --url https://api.rootly.com/v1/escalation_policies/%7Bescalation_policy_id%7D/escalation_levels \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "24fd952f-97b1-47f2-b5d7-cd7343c5b40b",
    "type": "escalation_levels",
    "attributes": {
      "escalation_policy_path_id": "165a894d-e91a-4475-b497-8f80653b24bf",
      "position": 1,
      "delay": 2,
      "escalation_policy_id": "3de3b327-a63b-481b-b69e-94baf7de3d6f",
      "created_at": "2025-03-13T12:00:19.669-07:00",
      "updated_at": "2025-03-13T12:00:19.669-07:00",
      "notification_target_params": [
        {
          "id": "107",
          "type": "user",
          "team_members": "all"
        },
        {
          "id": "0ad797ea-503f-48ed-b344-b4bfe00f2e41",
          "type": "schedule",
          "team_members": "all"
        },
        {
          "id": "CX21345",
          "type": "slack_channel",
          "team_members": "all"
        }
      ]
    }
  }
}

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 level created
data
object
required