Overview
AlertEvents
AlertGroups
AlertRoutingRules
AlertUrgencies
AlertSources
Alerts
Audits
Authorizations
CatalogEntities
CatalogEntityProperties
CatalogFields
Catalogs
[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
- GETList incidents
- POSTCreates an incident
- GETRetrieves an incident
- PUTUpdate an incident
- DELDelete an incident
- PUTMitigate an incident
- PUTResolve an incident
- PUTCancel an incident
- PUTTriage an incident
- PUTRestart an incident
- PUTMark an incident as a duplicate
- POSTAdd subscribers to incident
- DELRemove subscribers from incident
- POSTAssign user to incident
- DELRemove assigned user from incident
IpRanges
LiveCallRouters
OnCallRoles
OnCallShadows
OverrideShifts
PlaybookTasks
Playbooks
RetrospectiveTemplates
RetrospectiveConfigurations
RetrospectiveProcessGroupSteps
RetrospectiveProcessGroups
RetrospectiveProcesses
RetrospectiveSteps
ScheduleRotationActiveDays
ScheduleRotationUsers
ScheduleRotations
Schedules
Services
Severities
StatusPageTemplates
StatusPages
SubStatuses
Teams
UserNotificationRules
WebhooksDeliveries
AlertRoutingRules
Retrieves an alert routing rule
AlertRoutingRules
Retrieves an alert routing rule
Retrieves a specific alert routing rule by id
GET
/
v1
/
alert_routing_rules
/
{id}
curl --request GET \
--url https://api.rootly.com/v1/alert_routing_rules/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "3df3b109-67d8-409c-90b2-9f243bc4147d",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "f0b40ec9-d633-4517-b685-41f8b1ecdea2",
"condition_type": "all",
"enabled": false,
"created_at": "2025-03-28T22:57:40.763-07:00",
"updated_at": "2025-03-28T22:57:40.763-07:00",
"destination": {
"id": "9f6f8a02-4ea9-4592-954f-70ca5c68d70c",
"target_type": "EscalationPolicy",
"target_id": "dff142a4-18e5-4533-819d-f664e13608be",
"created_at": "2025-03-28T22:57:40.978-07:00",
"updated_at": "2025-03-28T22:57:40.978-07:00"
},
"conditions": []
},
"relationships": {
"owning_teams": {
"data": []
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/vnd.api+json
alert routing rule found
Unique ID of the alert_routing_rule
Available options:
alert_routing_rules
The name of the alert routing rule
Whether the alert routing rule is enabled
The ID of the alerts source
The type of condition for the alert routing rule
Available options:
all
, any
Date of creation
Date of last update
The conditions for the alert routing rule
The type of the property field
Available options:
attribute
, payload
The name of the property field
The condition type of the property field
Available options:
is
, is_not
, contains
, does_not_contain
, starts_with
, ends_with
, matches_regex
, is_empty
The value of the property field
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_routing_rules/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "3df3b109-67d8-409c-90b2-9f243bc4147d",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "f0b40ec9-d633-4517-b685-41f8b1ecdea2",
"condition_type": "all",
"enabled": false,
"created_at": "2025-03-28T22:57:40.763-07:00",
"updated_at": "2025-03-28T22:57:40.763-07:00",
"destination": {
"id": "9f6f8a02-4ea9-4592-954f-70ca5c68d70c",
"target_type": "EscalationPolicy",
"target_id": "dff142a4-18e5-4533-819d-f664e13608be",
"created_at": "2025-03-28T22:57:40.978-07:00",
"updated_at": "2025-03-28T22:57:40.978-07:00"
},
"conditions": []
},
"relationships": {
"owning_teams": {
"data": []
}
}
}
}