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": "8ad2e24a-c70e-4a5d-9afc-4209e65a3325",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-140c",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.186-08:00",
        "updated_at": "2026-02-09T13:07:38.186-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "b1038e46-98ae-4ae0-aadf-52973de6e890",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-6ad6",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.183-08:00",
        "updated_at": "2026-02-09T13:07:38.183-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "14f9ce18-4575-4dba-86f6-10040e01fcf5",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-97c2",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.181-08:00",
        "updated_at": "2026-02-09T13:07:38.181-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "e3d1d70d-1a5e-4c88-9bde-424499c4fc5b",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-83be",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.178-08:00",
        "updated_at": "2026-02-09T13:07:38.178-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "1c687d85-dc87-4813-b50a-ddcc03f493b6",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-e49e",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.176-08:00",
        "updated_at": "2026-02-09T13:07:38.176-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "b961039d-4ac5-4a34-8d2b-90f112f0f8b8",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-4723",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.173-08:00",
        "updated_at": "2026-02-09T13:07:38.173-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "0c80bed8-bd8b-45fa-8613-e163ccca7fc0",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-8a50",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.171-08:00",
        "updated_at": "2026-02-09T13:07:38.171-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "0d6d2e57-23d9-4015-9bb6-5d64d34f28d0",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-3b41",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.168-08:00",
        "updated_at": "2026-02-09T13:07:38.168-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "28eda9fd-c571-4a20-a1ab-d85bd080927c",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-4901",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.166-08:00",
        "updated_at": "2026-02-09T13:07:38.166-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "16eb0832-ac9d-44d9-b5c2-3fee06b95701",
      "type": "alert_routes",
      "attributes": {
        "name": "Test Alert Route-1078",
        "enabled": true,
        "created_at": "2026-02-09T13:07:38.160-08:00",
        "updated_at": "2026-02-09T13:07:38.160-08:00",
        "alerts_source_ids": [],
        "owning_team_ids": [],
        "rules": []
      }
    },
    {
      "id": "14c93feb-2cea-45ec-859f-70cf29ef12da",
      "type": "alert_routes",
      "attributes": {
        "name": "Alert Routing Rule 2",
        "enabled": false,
        "created_at": "2026-02-09T13:07:37.959-08:00",
        "updated_at": "2026-02-09T13:07:37.959-08:00",
        "alerts_source_ids": [
          "8ac49c5e-e3a9-4843-b230-3ae505e54510"
        ],
        "owning_team_ids": [
          "262b6213-a1cd-4f16-a63e-86e1f250d0ee"
        ],
        "rules": [
          {
            "id": "9d4879ab-0cb4-49c6-96a5-aa1e4edad1d4",
            "name": "Alert Routing Rule 2",
            "alerts_source_id": "8ac49c5e-e3a9-4843-b230-3ae505e54510",
            "condition_type": "all",
            "enabled": false,
            "position": 1,
            "destination": {
              "target_type": "EscalationPolicy",
              "target_id": "9476e7a6-9445-4a41-b4bf-1032488ed8de"
            },
            "created_at": "2026-02-09T13:07:37.968-08:00",
            "updated_at": "2026-02-09T13:07:37.968-08:00",
            "destinations": [
              {
                "target_type": "EscalationPolicy",
                "target_id": "9476e7a6-9445-4a41-b4bf-1032488ed8de"
              }
            ],
            "condition_groups": [],
            "owning_teams": [
              {
                "id": "262b6213-a1cd-4f16-a63e-86e1f250d0ee",
                "slug": "possimus-alias-assumenda-occaecati",
                "name": "Possimus alias assumenda occaecati.",
                "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": "2026-02-09T13:07:36.292-08:00",
                "updated_at": "2026-02-09T13:07:36.292-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
meta
object
required