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": "14dc9ba9-14f7-4e35-9311-9d00778da622",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 2",
"alerts_source_id": "1d2d44da-a063-4baa-b91b-9dc2957b5525",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"id": "99be857b-7570-479e-8044-4b7df410cdec",
"target_type": "EscalationPolicy",
"target_id": "6eae9d5c-4881-4a45-9e50-760b32490c38",
"created_at": "2025-09-03T02:17:56.568-07:00",
"updated_at": "2025-09-03T02:17:56.568-07:00"
},
"created_at": "2025-09-03T02:17:56.503-07:00",
"updated_at": "2025-09-03T02:17:56.503-07:00",
"destinations": [
{
"id": "99be857b-7570-479e-8044-4b7df410cdec",
"target_type": "EscalationPolicy",
"target_id": "6eae9d5c-4881-4a45-9e50-760b32490c38",
"created_at": "2025-09-03T02:17:56.568-07:00",
"updated_at": "2025-09-03T02:17:56.568-07:00"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "fc4340d7-f7d8-4773-b2be-1abc025d3e77",
"type": "groups"
}
]
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Resource UUID
alert_routing_rule found by slug
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": "14dc9ba9-14f7-4e35-9311-9d00778da622",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 2",
"alerts_source_id": "1d2d44da-a063-4baa-b91b-9dc2957b5525",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"id": "99be857b-7570-479e-8044-4b7df410cdec",
"target_type": "EscalationPolicy",
"target_id": "6eae9d5c-4881-4a45-9e50-760b32490c38",
"created_at": "2025-09-03T02:17:56.568-07:00",
"updated_at": "2025-09-03T02:17:56.568-07:00"
},
"created_at": "2025-09-03T02:17:56.503-07:00",
"updated_at": "2025-09-03T02:17:56.503-07:00",
"destinations": [
{
"id": "99be857b-7570-479e-8044-4b7df410cdec",
"target_type": "EscalationPolicy",
"target_id": "6eae9d5c-4881-4a45-9e50-760b32490c38",
"created_at": "2025-09-03T02:17:56.568-07:00",
"updated_at": "2025-09-03T02:17:56.568-07:00"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "fc4340d7-f7d8-4773-b2be-1abc025d3e77",
"type": "groups"
}
]
}
}
}
}