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": "64bd2fee-9edf-4cec-b2f6-524b9a8019ce",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-b9cd",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.498-08:00",
        "updated_at": "2025-12-24T09:22:34.498-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "dd92df1a-4cd7-4642-af5b-50a14f1d0de6",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-8dce",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.496-08:00",
        "updated_at": "2025-12-24T09:22:34.496-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "d54d938f-3b96-450b-964e-da9d87ca419d",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-7730",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.494-08:00",
        "updated_at": "2025-12-24T09:22:34.494-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "2c878126-898c-40fe-a669-e92373bce1cf",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-eab1",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.491-08:00",
        "updated_at": "2025-12-24T09:22:34.491-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "cf376830-e2b6-49a0-a69f-40bd8429e537",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-c97d",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.489-08:00",
        "updated_at": "2025-12-24T09:22:34.489-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "af5d5038-1de8-40f5-8959-b05f39e9c2d7",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-4eb0",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.487-08:00",
        "updated_at": "2025-12-24T09:22:34.487-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "428cc2fa-42b9-4212-9d43-e93bf96ea41e",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-0188",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.484-08:00",
        "updated_at": "2025-12-24T09:22:34.484-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "1aac5cfe-c720-4fa0-b716-a67454915791",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-04bc",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.482-08:00",
        "updated_at": "2025-12-24T09:22:34.482-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "84dcd2aa-df93-4b62-bb0f-0cf43011d9ea",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-8686",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.479-08:00",
        "updated_at": "2025-12-24T09:22:34.479-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "76ffe04d-f9c3-469a-9b79-66b6e4467af1",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-b855",
        "enabled": true,
        "created_at": "2025-12-24T09:22:34.474-08:00",
        "updated_at": "2025-12-24T09:22:34.474-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "b7a4b6d0-55b7-4a8e-bd82-ba5992937e54",
      "type": "alert_routes",
      "attributes": {
        "name": "Alert Routing Rule 2",
        "enabled": false,
        "created_at": "2025-12-24T09:22:34.364-08:00",
        "updated_at": "2025-12-24T09:22:34.364-08:00",
        "alerts_source_ids": [
          "65b547ee-6447-4986-a3b9-24afb59945f7"
        ],
        "owning_team_ids": [
          "54624524-da52-4946-929d-b62d61dfc69b"
        ],
        "rules": [
          {
            "id": "930ac33c-3190-42e9-b672-492a75ed1544",
            "name": "Alert Routing Rule 2",
            "alerts_source_id": "65b547ee-6447-4986-a3b9-24afb59945f7",
            "condition_type": "all",
            "enabled": false,
            "position": 1,
            "destination": {
              "target_type": "EscalationPolicy",
              "target_id": "41abcb49-7e92-4c78-a22d-ac8216e6f6c8"
            },
            "created_at": "2025-12-24T09:22:34.369-08:00",
            "updated_at": "2025-12-24T09:22:34.369-08:00",
            "destinations": [
              {
                "target_type": "EscalationPolicy",
                "target_id": "41abcb49-7e92-4c78-a22d-ac8216e6f6c8"
              }
            ],
            "condition_groups": [],
            "owning_teams": [
              {
                "id": "54624524-da52-4946-929d-b62d61dfc69b",
                "slug": "in-voluptate-rerum-sint",
                "name": "In voluptate rerum sint.",
                "description": null,
                "color": "#E65252",
                "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": "[email protected]",
                "alert_broadcast_enabled": false,
                "alert_broadcast_channel": {},
                "incident_broadcast_enabled": false,
                "incident_broadcast_channel": {},
                "auto_add_members_when_attached": false,
                "created_at": "2025-12-24T09:22:33.522-08:00",
                "updated_at": "2025-12-24T09:22:33.522-08: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