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": "3cc7f379-7d8a-440b-92a3-fe55e2c0a437",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-e28e",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.728-07:00",
        "updated_at": "2025-10-29T12:04:23.728-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "172a02c4-b74c-43e5-be15-22d8b1e2c524",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-08b4",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.724-07:00",
        "updated_at": "2025-10-29T12:04:23.724-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "84960403-0fa8-4ce2-8a3b-8732ef2cdc8b",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-d1c6",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.720-07:00",
        "updated_at": "2025-10-29T12:04:23.720-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "38f4171b-c664-46f5-b7c2-e93f764a7c07",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-2a5d",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.716-07:00",
        "updated_at": "2025-10-29T12:04:23.716-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "d4288386-790d-4680-a522-aa4beda0c459",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-dd1b",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.711-07:00",
        "updated_at": "2025-10-29T12:04:23.711-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "80119868-1105-4744-81f3-6089b653e444",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-2aa0",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.708-07:00",
        "updated_at": "2025-10-29T12:04:23.708-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "ed8eff0e-8f78-48bc-9b88-8013221b0191",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-536a",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.703-07:00",
        "updated_at": "2025-10-29T12:04:23.703-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "9a9da315-f787-4c9a-ae7b-cc4fbb5fa3e6",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-5198",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.699-07:00",
        "updated_at": "2025-10-29T12:04:23.699-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "a4ba2d1a-359b-468e-9727-aa6b37f87c21",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-22e7",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.695-07:00",
        "updated_at": "2025-10-29T12:04:23.695-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "772a899c-c997-4e44-884e-be0ecfabde54",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-be87",
        "enabled": true,
        "created_at": "2025-10-29T12:04:23.687-07:00",
        "updated_at": "2025-10-29T12:04:23.687-07:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "74995bc0-0a79-4243-abad-b9b733f567d1",
      "type": "alert_routes",
      "attributes": {
        "name": "Alert Routing Rule 2",
        "enabled": false,
        "created_at": "2025-10-29T12:04:23.554-07:00",
        "updated_at": "2025-10-29T12:04:23.554-07:00",
        "alerts_source_ids": [
          "e75258ee-5c83-4c38-bc4d-a5956a546241"
        ],
        "owning_team_ids": [
          "d9a3dd84-cf30-46a3-a1f6-bde8ece92b07"
        ],
        "rules": [
          {
            "id": "67b8f81d-0c05-4f5f-9634-8a9500f9fa29",
            "name": "Alert Routing Rule 2",
            "alerts_source_id": "e75258ee-5c83-4c38-bc4d-a5956a546241",
            "condition_type": "all",
            "enabled": false,
            "position": 1,
            "destination": {
              "id": "3a43284f-5bf9-4dd1-9456-fab0b2b1d228",
              "target_type": "EscalationPolicy",
              "target_id": "fd36ca5d-d83b-41be-94af-f10c78801884",
              "created_at": "2025-10-29T12:04:23.613-07:00",
              "updated_at": "2025-10-29T12:04:23.613-07:00"
            },
            "created_at": "2025-10-29T12:04:23.561-07:00",
            "updated_at": "2025-10-29T12:04:23.561-07:00",
            "destinations": [
              {
                "id": "3a43284f-5bf9-4dd1-9456-fab0b2b1d228",
                "target_type": "EscalationPolicy",
                "target_id": "fd36ca5d-d83b-41be-94af-f10c78801884",
                "created_at": "2025-10-29T12:04:23.613-07:00",
                "updated_at": "2025-10-29T12:04:23.613-07:00"
              }
            ],
            "condition_groups": [],
            "owning_teams": [
              {
                "id": "d9a3dd84-cf30-46a3-a1f6-bde8ece92b07",
                "slug": "labore-ratione-quis-impedit",
                "name": "Labore ratione quis impedit.",
                "description": null,
                "color": "#FAEBB7",
                "position": 1,
                "notify_emails": [],
                "slack_channels": [],
                "slack_aliases": [],
                "pagerduty_id": null,
                "pagerduty_service_id": null,
                "backstage_id": null,
                "external_id": null,
                "opsgenie_id": null,
                "victor_ops_id": null,
                "pagertree_id": null,
                "cortex_id": null,
                "service_now_ci_sys_id": null,
                "user_ids": [],
                "admin_ids": [],
                "incidents_count": 0,
                "alert_urgency_id": null,
                "alerts_email_enabled": false,
                "alerts_email_address": "group-b8bc5fe7bb210c841fafd92a30c95a65@email.rootly.com",
                "alert_broadcast_enabled": false,
                "alert_broadcast_channel": {},
                "incident_broadcast_enabled": false,
                "incident_broadcast_channel": {},
                "auto_add_members_when_attached": false,
                "created_at": "2025-10-29T12:04:22.270-07:00",
                "updated_at": "2025-10-29T12:04:22.270-07:00"
              }
            ],
            "fallback_rule": false
          }
        ]
      }
    }
  ],
  "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