POST
/
v1
/
escalation_policies
/
{escalation_policy_id}
/
escalation_levels
curl --request POST \
  --url https://api.rootly.com/v1/escalation_policies/{escalation_policy_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": "e82a1de8-3894-4861-b906-91d16f1e8eb1",
    "type": "escalation_levels",
    "attributes": {
      "escalation_policy_path_id": "aa6c1089-097f-4398-af51-8084f709790b",
      "position": 1,
      "delay": 2,
      "escalation_policy_id": "06a77dc3-0a30-4328-9fd7-28290d06d1af",
      "paging_strategy_configuration_strategy": null,
      "paging_strategy_configuration_schedule_strategy": null,
      "created_at": "2025-06-19T04:13:13.702-07:00",
      "updated_at": "2025-06-19T04:13:13.702-07:00",
      "notification_target_params": [
        {
          "id": "112",
          "type": "user",
          "team_members": "all"
        },
        {
          "id": "ab72e37f-474b-4909-8494-dd07d0e043e7",
          "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

Response

201
application/vnd.api+json

escalation level created

The response is of type object.