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": "48d98c56-f3e5-40f5-a2b2-800e0a95e1f9",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-909f",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.774-08:00",
        "updated_at": "2025-12-10T19:46:09.774-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "792ecb0a-ae31-417a-b005-35294b88e272",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-9f47",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.770-08:00",
        "updated_at": "2025-12-10T19:46:09.770-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "df3313dc-4360-488e-9087-d45ca9dc8b9a",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-97cd",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.766-08:00",
        "updated_at": "2025-12-10T19:46:09.766-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "e51fdaac-a2ae-48d0-8633-7afb55348780",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-31de",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.761-08:00",
        "updated_at": "2025-12-10T19:46:09.761-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "e4bdc9d0-8d2b-44a3-bc0c-9f649b11dcb6",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-6702",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.757-08:00",
        "updated_at": "2025-12-10T19:46:09.757-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "efb6d91f-9f83-4b9a-bd45-f90e04f72742",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-6ab4",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.753-08:00",
        "updated_at": "2025-12-10T19:46:09.753-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "0681e669-0df2-4fc2-9478-60d3ebdbcade",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-93ac",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.749-08:00",
        "updated_at": "2025-12-10T19:46:09.749-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "ba062aa8-96a7-4c8a-94c7-7aa6f45fd2f9",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-f63d",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.745-08:00",
        "updated_at": "2025-12-10T19:46:09.745-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "f569ae0e-5f95-4ec8-923d-0103f42f0db6",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-4cd4",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.740-08:00",
        "updated_at": "2025-12-10T19:46:09.740-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "a21a079c-b84e-40c1-a444-0d04790e0729",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-3864",
        "enabled": true,
        "created_at": "2025-12-10T19:46:09.731-08:00",
        "updated_at": "2025-12-10T19:46:09.731-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "afab3e8a-e578-45e2-8a13-d978860d5221",
      "type": "alert_routes",
      "attributes": {
        "name": "Alert Routing Rule 2",
        "enabled": false,
        "created_at": "2025-12-10T19:46:09.592-08:00",
        "updated_at": "2025-12-10T19:46:09.592-08:00",
        "alerts_source_ids": [
          "187fdc92-8065-48cf-be28-30065620826f"
        ],
        "owning_team_ids": [
          "3ca3763a-3618-4242-9dda-7a3083444382"
        ],
        "rules": [
          {
            "id": "0a70e9ca-7b03-4468-97ee-667d09eed243",
            "name": "Alert Routing Rule 2",
            "alerts_source_id": "187fdc92-8065-48cf-be28-30065620826f",
            "condition_type": "all",
            "enabled": false,
            "position": 1,
            "destination": {
              "target_type": "EscalationPolicy",
              "target_id": "11009883-dd1c-476a-8a75-e59fee991bcc"
            },
            "created_at": "2025-12-10T19:46:09.600-08:00",
            "updated_at": "2025-12-10T19:46:09.600-08:00",
            "destinations": [
              {
                "target_type": "EscalationPolicy",
                "target_id": "11009883-dd1c-476a-8a75-e59fee991bcc"
              }
            ],
            "condition_groups": [],
            "owning_teams": [
              {
                "id": "3ca3763a-3618-4242-9dda-7a3083444382",
                "slug": "molestias-nulla-quia-perferendis",
                "name": "Molestias nulla quia perferendis.",
                "description": null,
                "color": "#F5D9C4",
                "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-10T19:46:08.464-08:00",
                "updated_at": "2025-12-10T19:46:08.464-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