Skip to main content
GET
/
v1
/
alert_routes
List alert routes
curl --request GET \
  --url https://api.rootly.com/v1/alert_routes \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "52dee2ef-705d-4b0a-b55c-c8d4742c491b",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-b2f2",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.056-07:00",
        "updated_at": "2025-10-09T08:33:09.056-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "aff476ca-495f-4b10-8d21-0d67b2bc69a0",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-65c7",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.051-07:00",
        "updated_at": "2025-10-09T08:33:09.051-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "a233204a-cc5a-4894-bdad-a807012933e8",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-651c",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.045-07:00",
        "updated_at": "2025-10-09T08:33:09.045-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "d38af139-bfb2-4bf1-b8a7-c8aa678779fb",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-9617",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.040-07:00",
        "updated_at": "2025-10-09T08:33:09.040-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "e000d47a-8f3e-45b9-86ed-7581ac5e6b37",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-3ea5",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.035-07:00",
        "updated_at": "2025-10-09T08:33:09.035-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "be56bf1b-8f0d-4fed-b184-06b66cdda437",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-36ee",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.030-07:00",
        "updated_at": "2025-10-09T08:33:09.030-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "97a2a5c2-fe87-4b3d-93fe-0c6ce7c73d21",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-95dd",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.024-07:00",
        "updated_at": "2025-10-09T08:33:09.024-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "5c51f24b-70d3-4ea6-8bf5-7a83f006ef1e",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-d5c0",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.018-07:00",
        "updated_at": "2025-10-09T08:33:09.018-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "f8f16673-2cf1-4439-9bf2-d55f23036baf",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-67ff",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.013-07:00",
        "updated_at": "2025-10-09T08:33:09.013-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "fa8acc89-6d66-4cb7-bdfa-d4897dc25795",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-e1cc",
        "enabled": true,
        "created_at": "2025-10-09T08:33:09.003-07:00",
        "updated_at": "2025-10-09T08:33:09.003-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": []
      },
      "relationships": {
        "alert_routing_rules": {
          "data": []
        }
      }
    },
    {
      "id": "407fee52-385b-4a3c-b66a-ba3e2f0c6f78",
      "type": "alert_routes",
      "attributes": {
        "name": "Alert Routing Rule 2",
        "enabled": false,
        "created_at": "2025-10-09T08:33:08.830-07:00",
        "updated_at": "2025-10-09T08:33:08.830-07:00",
        "alerts_source_ids": [
          "fe946652-0f30-4155-869b-916c687164e3"
        ],
        "owning_team_ids": [
          "b3124238-5603-4525-a560-9465a60a5728"
        ]
      },
      "relationships": {
        "alert_routing_rules": {
          "data": [
            {
              "id": "633148a0-e751-48cf-ac0c-a3232a3c391f",
              "type": "alert_routing_rules"
            }
          ]
        }
      }
    }
  ],
  "included": [
    {
      "id": "633148a0-e751-48cf-ac0c-a3232a3c391f",
      "type": "alert_routing_rules",
      "attributes": {
        "name": "Alert Routing Rule 2",
        "alerts_source_id": "fe946652-0f30-4155-869b-916c687164e3",
        "condition_type": "all",
        "enabled": false,
        "position": 1,
        "destination": {
          "id": "503b9304-6d10-4fe2-b038-ea3753437cee",
          "target_type": "EscalationPolicy",
          "target_id": "52254fa8-3a1f-4942-9389-360784cfbf3c",
          "created_at": "2025-10-09T08:33:08.907-07:00",
          "updated_at": "2025-10-09T08:33:08.907-07:00"
        },
        "created_at": "2025-10-09T08:33:08.841-07:00",
        "updated_at": "2025-10-09T08:33:08.841-07:00",
        "destinations": [
          {
            "id": "503b9304-6d10-4fe2-b038-ea3753437cee",
            "target_type": "EscalationPolicy",
            "target_id": "52254fa8-3a1f-4942-9389-360784cfbf3c",
            "created_at": "2025-10-09T08:33:08.907-07:00",
            "updated_at": "2025-10-09T08:33:08.907-07:00"
          }
        ],
        "condition_groups": []
      },
      "relationships": {
        "owning_teams": {
          "data": [
            {
              "id": "b3124238-5603-4525-a560-9465a60a5728",
              "type": "groups"
            }
          ]
        }
      }
    }
  ],
  "links": {
    "self": "http://www.example.com/v1/alert_routes?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "first": "http://www.example.com/v1/alert_routes?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "prev": null,
    "next": null,
    "last": "http://www.example.com/v1/alert_routes?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  },
  "meta": {
    "current_page": 1,
    "next_page": null,
    "prev_page": null,
    "total_count": 11,
    "total_pages": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page[number]
integer
page[size]
integer
filter[name]
string
sort
string

Response

alert routes filtered by search

data
object[]
required
I