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": "3dbd1f35-af9f-4b2a-879a-4cbda9469336",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "67821ce7-df43-4c6b-ae3f-65847694d626",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"id": "22f3e33a-8752-4917-ac5f-38d60645064f",
"target_type": "EscalationPolicy",
"target_id": "1f30704c-776a-4735-931e-df6cf039361f",
"created_at": "2025-07-23T05:25:23.499-07:00",
"updated_at": "2025-07-23T05:25:23.499-07:00"
},
"created_at": "2025-07-23T05:25:23.403-07:00",
"updated_at": "2025-07-23T05:25:23.403-07:00",
"destinations": [
{
"id": "22f3e33a-8752-4917-ac5f-38d60645064f",
"target_type": "EscalationPolicy",
"target_id": "1f30704c-776a-4735-931e-df6cf039361f",
"created_at": "2025-07-23T05:25:23.499-07:00",
"updated_at": "2025-07-23T05:25:23.499-07:00"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "9ea0ce3c-6d6e-455e-ac6b-4543843fc685",
"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": "3dbd1f35-af9f-4b2a-879a-4cbda9469336",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "67821ce7-df43-4c6b-ae3f-65847694d626",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"id": "22f3e33a-8752-4917-ac5f-38d60645064f",
"target_type": "EscalationPolicy",
"target_id": "1f30704c-776a-4735-931e-df6cf039361f",
"created_at": "2025-07-23T05:25:23.499-07:00",
"updated_at": "2025-07-23T05:25:23.499-07:00"
},
"created_at": "2025-07-23T05:25:23.403-07:00",
"updated_at": "2025-07-23T05:25:23.403-07:00",
"destinations": [
{
"id": "22f3e33a-8752-4917-ac5f-38d60645064f",
"target_type": "EscalationPolicy",
"target_id": "1f30704c-776a-4735-931e-df6cf039361f",
"created_at": "2025-07-23T05:25:23.499-07:00",
"updated_at": "2025-07-23T05:25:23.499-07:00"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "9ea0ce3c-6d6e-455e-ac6b-4543843fc685",
"type": "groups"
}
]
}
}
}
}