Retrieves a specific alert routing rule by id
curl --request GET \
--url https://api.rootly.com/v1/alert_routing_rules/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "8d9caf1c-4a5d-4355-9618-ab16d806fb69",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "060073d9-83d9-403e-a4d1-2a72cc2d7915",
"condition_type": "all",
"enabled": false,
"position": 1,
"created_at": "2025-07-17T10:59:13.772-07:00",
"updated_at": "2025-07-17T10:59:13.772-07:00",
"destinations": [
{
"id": "40961a6b-a801-448d-9ad9-865d10ccdd1c",
"target_type": "EscalationPolicy",
"target_id": "7d5f5f31-b4a4-494c-9c7a-472208ebab56",
"created_at": "2025-07-17T10:59:13.849-07:00",
"updated_at": "2025-07-17T10:59:13.849-07:00"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "ae4fe25d-069d-4724-b1a7-38994c052829",
"type": "groups"
}
]
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
alert routing rule found
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_routing_rules/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "8d9caf1c-4a5d-4355-9618-ab16d806fb69",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "060073d9-83d9-403e-a4d1-2a72cc2d7915",
"condition_type": "all",
"enabled": false,
"position": 1,
"created_at": "2025-07-17T10:59:13.772-07:00",
"updated_at": "2025-07-17T10:59:13.772-07:00",
"destinations": [
{
"id": "40961a6b-a801-448d-9ad9-865d10ccdd1c",
"target_type": "EscalationPolicy",
"target_id": "7d5f5f31-b4a4-494c-9c7a-472208ebab56",
"created_at": "2025-07-17T10:59:13.849-07:00",
"updated_at": "2025-07-17T10:59:13.849-07:00"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "ae4fe25d-069d-4724-b1a7-38994c052829",
"type": "groups"
}
]
}
}
}
}