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": "e93c29bb-19bc-4d98-844a-584c04628845",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-5207",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.663-08:00",
        "updated_at": "2025-11-20T15:48:20.663-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "0eb0273d-06ee-4c3c-a6ae-690310cc4cf1",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-417e",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.653-08:00",
        "updated_at": "2025-11-20T15:48:20.653-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "c7f49178-b991-4a68-a690-22d7d155b1bb",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-76d4",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.642-08:00",
        "updated_at": "2025-11-20T15:48:20.642-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "5020ced3-2313-42ea-8e51-6a570286ba30",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-04a2",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.635-08:00",
        "updated_at": "2025-11-20T15:48:20.635-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "db118856-8c75-493a-a04a-dbb72cdbd5ec",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-7ffd",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.626-08:00",
        "updated_at": "2025-11-20T15:48:20.626-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "74cd076d-2b02-4ed9-b2ce-c2507ce04649",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-5bef",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.616-08:00",
        "updated_at": "2025-11-20T15:48:20.616-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "bba5124f-d30e-49f0-b44f-68d0c993f2b9",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-9eca",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.607-08:00",
        "updated_at": "2025-11-20T15:48:20.607-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "ab654fab-5c42-4777-8ad9-c618753275df",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-d5bb",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.599-08:00",
        "updated_at": "2025-11-20T15:48:20.599-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "34ea5b95-1487-44b2-8570-153fc1924617",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-cd2d",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.589-08:00",
        "updated_at": "2025-11-20T15:48:20.589-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "3c5ee83d-0a63-49f7-81b7-baf614123d94",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-5f31",
        "enabled": true,
        "created_at": "2025-11-20T15:48:20.559-08:00",
        "updated_at": "2025-11-20T15:48:20.559-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "96f46e64-4504-4e9c-89a7-28351a560480",
      "type": "alert_routes",
      "attributes": {
        "name": "Alert Routing Rule 2",
        "enabled": false,
        "created_at": "2025-11-20T15:48:20.266-08:00",
        "updated_at": "2025-11-20T15:48:20.266-08:00",
        "alerts_source_ids": [
          "62d7f75c-1a5b-492e-b006-f12c3a7311fe"
        ],
        "owning_team_ids": [
          "dd33469a-1a24-4e79-bb25-dd91a68f8d57"
        ],
        "rules": [
          {
            "id": "5936df64-90eb-4f28-af7d-1b3fb8aad697",
            "name": "Alert Routing Rule 2",
            "alerts_source_id": "62d7f75c-1a5b-492e-b006-f12c3a7311fe",
            "condition_type": "all",
            "enabled": false,
            "position": 1,
            "destination": {
              "target_type": "EscalationPolicy",
              "target_id": "10d1ae8b-722d-400f-a329-6480086d3c1d"
            },
            "created_at": "2025-11-20T15:48:20.280-08:00",
            "updated_at": "2025-11-20T15:48:20.280-08:00",
            "destinations": [
              {
                "target_type": "EscalationPolicy",
                "target_id": "10d1ae8b-722d-400f-a329-6480086d3c1d"
              }
            ],
            "condition_groups": [],
            "owning_teams": [
              {
                "id": "dd33469a-1a24-4e79-bb25-dd91a68f8d57",
                "slug": "dicta-ea-tenetur-nam",
                "name": "Dicta ea tenetur nam.",
                "description": null,
                "color": "#D7F5E1",
                "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-a18806d321f45ffa11ebbd5566a50cea@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-11-20T15:48:18.744-08:00",
                "updated_at": "2025-11-20T15:48:18.744-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