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": "c91f3ede-3670-4484-be47-560b23de557d",
    "type": "escalation_levels",
    "attributes": {
      "escalation_policy_path_id": "58784859-5255-4d49-818c-68184fb16e70",
      "position": 1,
      "delay": 2,
      "escalation_policy_id": "81618fdd-1eef-4be1-a686-ed55706cb1bf",
      "paging_strategy_configuration_strategy": null,
      "paging_strategy_configuration_schedule_strategy": null,
      "created_at": "2025-04-18T18:16:48.573-07:00",
      "updated_at": "2025-04-18T18:16:48.573-07:00",
      "notification_target_params": [
        {
          "id": "103",
          "type": "user",
          "team_members": "all"
        },
        {
          "id": "e5c5460b-f1fe-4a63-b725-c708c3459c2a",
          "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