POST
/
v1
/
escalation_paths
/
{escalation_policy_path_id}
/
escalation_levels
curl --request POST \
  --url https://api.rootly.com/v1/escalation_paths/{escalation_policy_path_id}/escalation_levels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "escalation_levels",
    "attributes": {
      "delay": 123,
      "position": 123,
      "paging_strategy_configuration_strategy": "default",
      "paging_strategy_configuration_schedule_strategy": "on_call_only",
      "escalation_policy_path_id": "<string>",
      "notification_target_params": [
        {
          "id": "<string>",
          "type": "team",
          "team_members": "all"
        }
      ]
    }
  }
}'
{
  "data": {
    "id": "062e1f75-0166-4e2c-8a5d-c18cf177eaf3",
    "type": "escalation_levels",
    "attributes": {
      "escalation_policy_path_id": "7ef5f2d2-05ba-489c-8aad-77e3d7e83f33",
      "position": 2,
      "delay": 2,
      "escalation_policy_id": "256829b9-3d7a-4fa7-802b-ff406da3971e",
      "paging_strategy_configuration_strategy": null,
      "paging_strategy_configuration_schedule_strategy": null,
      "created_at": "2025-03-26T23:19:08.107-07:00",
      "updated_at": "2025-03-26T23:19:08.107-07:00",
      "notification_target_params": [
        {
          "id": "120",
          "type": "user",
          "team_members": "all"
        },
        {
          "id": "b8980a3d-f1bb-47f6-9fb7-38cefc64e00e",
          "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_path_id
string
required

Body

application/vnd.api+json
data
object
required

Response

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