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": "325ecaf0-7a28-4034-b112-3ce8a2f30892",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "1486c156-1cde-411e-92a7-f5b0191b68b0",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"id": "2ec04684-75fb-4c36-a980-62a2edcce8e6",
"target_type": "EscalationPolicy",
"target_id": "a33165b7-6fdb-4ee5-b973-416e68426d20",
"created_at": "2025-08-12T10:43:30.712-07:00",
"updated_at": "2025-08-12T10:43:30.712-07:00"
},
"created_at": "2025-08-12T10:43:30.640-07:00",
"updated_at": "2025-08-12T10:43:30.640-07:00",
"destinations": [
{
"id": "2ec04684-75fb-4c36-a980-62a2edcce8e6",
"target_type": "EscalationPolicy",
"target_id": "a33165b7-6fdb-4ee5-b973-416e68426d20",
"created_at": "2025-08-12T10:43:30.712-07:00",
"updated_at": "2025-08-12T10:43:30.712-07:00"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "1574d8bd-8937-4cc5-83e7-bd93ad9d347d",
"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": "325ecaf0-7a28-4034-b112-3ce8a2f30892",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "1486c156-1cde-411e-92a7-f5b0191b68b0",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"id": "2ec04684-75fb-4c36-a980-62a2edcce8e6",
"target_type": "EscalationPolicy",
"target_id": "a33165b7-6fdb-4ee5-b973-416e68426d20",
"created_at": "2025-08-12T10:43:30.712-07:00",
"updated_at": "2025-08-12T10:43:30.712-07:00"
},
"created_at": "2025-08-12T10:43:30.640-07:00",
"updated_at": "2025-08-12T10:43:30.640-07:00",
"destinations": [
{
"id": "2ec04684-75fb-4c36-a980-62a2edcce8e6",
"target_type": "EscalationPolicy",
"target_id": "a33165b7-6fdb-4ee5-b973-416e68426d20",
"created_at": "2025-08-12T10:43:30.712-07:00",
"updated_at": "2025-08-12T10:43:30.712-07:00"
}
],
"conditions": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "1574d8bd-8937-4cc5-83e7-bd93ad9d347d",
"type": "groups"
}
]
}
}
}
}