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 policy
Creates a new escalation policy from provided data
curl --request POST \
--url https://api.rootly.com/v1/escalation_policies \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "b1d1daa5-f3a6-4166-b29d-09ed424130a4",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 5,
"created_by_user_id": 98,
"last_updated_by_user_id": 98,
"group_ids": [],
"service_ids": [],
"created_at": "2025-03-13T12:00:13.647-07:00",
"updated_at": "2025-03-13T12:00:13.647-07:00"
},
"relationships": {
"escalation_levels": {
"data": []
},
"escalation_paths": {
"data": []
},
"groups": {
"data": []
},
"services": {
"data": []
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
escalation_policies
The name of the escalation policy
The description of the escalation policy
The number of times this policy will be executed until someone acknowledges the alert
Associated groups (alerting the group will trigger escalation policy)
Associated services (alerting the service will trigger escalation policy)
Response
Unique ID of the escalation policy
escalation_policies
The name of the escalation policy
The number of times this policy will be executed until someone acknowledges the alert
User who created the escalation policy
The description of the escalation policy
User who updated the escalation policy
Associated groups (alerting the group will trigger escalation policy)
Associated services (alerting the service will trigger escalation policy)
Date of creation
Date of last update
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/escalation_policies \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "b1d1daa5-f3a6-4166-b29d-09ed424130a4",
"type": "escalation_policies",
"attributes": {
"name": "Platform EP",
"description": "test",
"repeat_count": 5,
"created_by_user_id": 98,
"last_updated_by_user_id": 98,
"group_ids": [],
"service_ids": [],
"created_at": "2025-03-13T12:00:13.647-07:00",
"updated_at": "2025-03-13T12:00:13.647-07:00"
},
"relationships": {
"escalation_levels": {
"data": []
},
"escalation_paths": {
"data": []
},
"groups": {
"data": []
},
"services": {
"data": []
}
}
}
}