Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
Creates an escalation level for an Escalation Policy
Creates a new escalation level from provided data
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
escalation_levels
Position of the escalation policy level
Escalation level's notification targets
The ID of notification target. If Slack channel, then id of the slack channel (eg. C06Q2JK7RQW)
The type of the notification target
team
, user
, schedule
, slack_channel
all
, admins
Delay before notification targets will be alerted.
The ID of the dynamic escalation policy path the level will belong to. If nothing is specified it will add the level to your default path.
Response
Unique ID of the escalation policy level
The ID of the escalation policy
Delay before notification targets will be alerted.
Position of the escalation policy level
Escalation level's notification targets
The ID of notification target
The type of the notification target
team
, user
, schedule
, slack_channel
all
, admins
The ID of the dynamic escalation policy path the level will belong to. If nothing is specified it will add the level to your default path.
Date of creation
Date of last update
escalation_levels
Was this page helpful?
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"
}
]
}
}
}