Retrieves a specific alert routing rule by id. Note: If you are an advanced alert routing user, you should use the Alert Routes endpoint instead of this endpoint. If you don’t know whether you are an advanced user, please contact Rootly customer support.
curl --request GET \
--url https://api.rootly.com/v1/alert_routing_rules/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "ce4ae687-0a24-4c5e-a5c3-19e4ee459e23",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 4",
"alerts_source_id": "962957fb-cae2-4a58-b86b-eec798fc10e2",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"target_type": "EscalationPolicy",
"target_id": "36b6e9a4-dffd-4ce5-877d-298c681989c7"
},
"created_at": "2025-12-03T21:28:10.939-08:00",
"updated_at": "2025-12-03T21:28:10.939-08:00",
"destinations": [
{
"target_type": "EscalationPolicy",
"target_id": "36b6e9a4-dffd-4ce5-877d-298c681989c7"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "461fca94-ed1f-49b1-aecd-f180efdba645",
"type": "groups"
}
]
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
alert_routing_rule found by slug
Show child attributes
Unique ID of the alert_routing_rule
alert_routing_rules Show child attributes
The name of the alert routing rule
Whether the alert routing rule is enabled
The ID of the alerts source
The position of the alert routing rule for ordering evaluation
The type of condition for the alert routing rule
all, any Date of creation
Date of last update
The conditions for the alert routing rule
Show child attributes
The type of the property field
attribute, payload The name of the property field. If the property field type is selected as 'attribute', then the allowed property field names are 'summary' (for Title), 'description', 'alert_urgency' and 'external_url' (for Alert Source URL). If the property field type is selected as 'payload', then the property field name should be supplied in JSON Path syntax.
The condition type of the property field
is_one_of, is_not_one_of, contains, does_not_contain, starts_with, ends_with, matches_regex, is_empty The value of the property field. Can be null if the property field condition type is 'is_one_of' or 'is_not_one_of'
The values of the property field. Used if the property field condition type is 'is_one_of' or 'is_not_one_of' except for when property field name is 'alert_urgency'
The condition groups for the alert routing rule
Show child attributes
The position of the condition group for ordering
Unique ID of the condition group
The conditions within this group
Show child attributes
The type of the property field
attribute, payload The name of the property field
The condition type of the property field
is_one_of, is_not_one_of, contains, does_not_contain, starts_with, ends_with, matches_regex, is_empty Unique ID of the condition
The value of the property field
The values of the property field
The ID of the conditionable object
The type of the conditionable object
Date of creation
Date of last update
Date of creation
Date of last update
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_routing_rules/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "ce4ae687-0a24-4c5e-a5c3-19e4ee459e23",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 4",
"alerts_source_id": "962957fb-cae2-4a58-b86b-eec798fc10e2",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"target_type": "EscalationPolicy",
"target_id": "36b6e9a4-dffd-4ce5-877d-298c681989c7"
},
"created_at": "2025-12-03T21:28:10.939-08:00",
"updated_at": "2025-12-03T21:28:10.939-08:00",
"destinations": [
{
"target_type": "EscalationPolicy",
"target_id": "36b6e9a4-dffd-4ce5-877d-298c681989c7"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "461fca94-ed1f-49b1-aecd-f180efdba645",
"type": "groups"
}
]
}
}
}
}