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": "b7c371ff-009e-45e5-a786-ca4cb348a2b7",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 4",
"alerts_source_id": "1b479725-a77e-44a6-bbf2-40467f5e8d77",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"target_type": "EscalationPolicy",
"target_id": "212b194e-dd42-43ea-b3b5-da7c1d2255c0"
},
"created_at": "2025-12-18T04:03:31.324-08:00",
"updated_at": "2025-12-18T04:03:31.324-08:00",
"destinations": [
{
"target_type": "EscalationPolicy",
"target_id": "212b194e-dd42-43ea-b3b5-da7c1d2255c0"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "4cfedbc2-9fd2-4cef-8dfe-fb158f0b3ede",
"type": "groups"
}
]
}
}
}
}Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_routing_rules/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "b7c371ff-009e-45e5-a786-ca4cb348a2b7",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 4",
"alerts_source_id": "1b479725-a77e-44a6-bbf2-40467f5e8d77",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"target_type": "EscalationPolicy",
"target_id": "212b194e-dd42-43ea-b3b5-da7c1d2255c0"
},
"created_at": "2025-12-18T04:03:31.324-08:00",
"updated_at": "2025-12-18T04:03:31.324-08:00",
"destinations": [
{
"target_type": "EscalationPolicy",
"target_id": "212b194e-dd42-43ea-b3b5-da7c1d2255c0"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "4cfedbc2-9fd2-4cef-8dfe-fb158f0b3ede",
"type": "groups"
}
]
}
}
}
}