Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List all alert routes for the current team with filtering and pagination. Note: This endpoint requires access to Advanced Alert Routing. If you’re unsure whether you have access to this feature, please contact Rootly customer support.
curl --request GET \
--url https://api.rootly.com/v1/alert_routes \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "22e74106-40a1-426e-976f-7aa04dae9b64",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-e31a",
"enabled": true,
"created_at": "2025-11-27T00:05:01.582-08:00",
"updated_at": "2025-11-27T00:05:01.582-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "0ea8cd2a-fc1e-44b4-ba08-1278f5264b9e",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-6b6e",
"enabled": true,
"created_at": "2025-11-27T00:05:01.578-08:00",
"updated_at": "2025-11-27T00:05:01.578-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "7f4d20cf-f72b-4248-983c-dc72de84fe37",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-c888",
"enabled": true,
"created_at": "2025-11-27T00:05:01.574-08:00",
"updated_at": "2025-11-27T00:05:01.574-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "baf644f1-8799-4476-9ad2-9cbc2def25b6",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-c5f6",
"enabled": true,
"created_at": "2025-11-27T00:05:01.571-08:00",
"updated_at": "2025-11-27T00:05:01.571-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "fe14f8c3-6791-49a4-a5c6-1e46aaa6df2a",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-a929",
"enabled": true,
"created_at": "2025-11-27T00:05:01.567-08:00",
"updated_at": "2025-11-27T00:05:01.567-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "4d99f8b5-6417-47cc-b1ba-1cdc124c9056",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-65e1",
"enabled": true,
"created_at": "2025-11-27T00:05:01.563-08:00",
"updated_at": "2025-11-27T00:05:01.563-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "e745fdcd-85d7-4701-ac19-b0e5f7591f05",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-cecc",
"enabled": true,
"created_at": "2025-11-27T00:05:01.559-08:00",
"updated_at": "2025-11-27T00:05:01.559-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "4895dec7-af5a-4fc1-bf29-c7936c76d2bd",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-d740",
"enabled": true,
"created_at": "2025-11-27T00:05:01.556-08:00",
"updated_at": "2025-11-27T00:05:01.556-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "d8d6efc9-e675-41a4-a57b-400e0d89c43d",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-7843",
"enabled": true,
"created_at": "2025-11-27T00:05:01.552-08:00",
"updated_at": "2025-11-27T00:05:01.552-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "05c5973e-4a4b-4cc0-a515-a15db31f820c",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-752f",
"enabled": true,
"created_at": "2025-11-27T00:05:01.543-08:00",
"updated_at": "2025-11-27T00:05:01.543-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "b705f514-c5f9-4524-bc73-5ec9be8d5824",
"type": "alert_routes",
"attributes": {
"name": "Alert Routing Rule 2",
"enabled": false,
"created_at": "2025-11-27T00:05:01.405-08:00",
"updated_at": "2025-11-27T00:05:01.405-08:00",
"alerts_source_ids": [
"68639a2f-9a68-4cae-ae97-eb2b32c92697"
],
"owning_team_ids": [
"0d8a9ee6-56d7-43ef-b929-20a32ca329f3"
],
"rules": [
{
"id": "d52ffa7a-c160-4157-83be-43468ee5919d",
"name": "Alert Routing Rule 2",
"alerts_source_id": "68639a2f-9a68-4cae-ae97-eb2b32c92697",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"target_type": "EscalationPolicy",
"target_id": "9331768a-ace8-40c8-8883-a5160c9cf4b9"
},
"created_at": "2025-11-27T00:05:01.413-08:00",
"updated_at": "2025-11-27T00:05:01.413-08:00",
"destinations": [
{
"target_type": "EscalationPolicy",
"target_id": "9331768a-ace8-40c8-8883-a5160c9cf4b9"
}
],
"condition_groups": [],
"owning_teams": [
{
"id": "0d8a9ee6-56d7-43ef-b929-20a32ca329f3",
"slug": "aut-quia-et-eligendi",
"name": "Aut quia et eligendi.",
"description": null,
"color": "#F4CFD1",
"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-05d054d48495d98b3922422fb76f5f34@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-27T00:05:00.168-08:00",
"updated_at": "2025-11-27T00:05:00.168-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
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_routes \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "22e74106-40a1-426e-976f-7aa04dae9b64",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-e31a",
"enabled": true,
"created_at": "2025-11-27T00:05:01.582-08:00",
"updated_at": "2025-11-27T00:05:01.582-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "0ea8cd2a-fc1e-44b4-ba08-1278f5264b9e",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-6b6e",
"enabled": true,
"created_at": "2025-11-27T00:05:01.578-08:00",
"updated_at": "2025-11-27T00:05:01.578-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "7f4d20cf-f72b-4248-983c-dc72de84fe37",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-c888",
"enabled": true,
"created_at": "2025-11-27T00:05:01.574-08:00",
"updated_at": "2025-11-27T00:05:01.574-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "baf644f1-8799-4476-9ad2-9cbc2def25b6",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-c5f6",
"enabled": true,
"created_at": "2025-11-27T00:05:01.571-08:00",
"updated_at": "2025-11-27T00:05:01.571-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "fe14f8c3-6791-49a4-a5c6-1e46aaa6df2a",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-a929",
"enabled": true,
"created_at": "2025-11-27T00:05:01.567-08:00",
"updated_at": "2025-11-27T00:05:01.567-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "4d99f8b5-6417-47cc-b1ba-1cdc124c9056",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-65e1",
"enabled": true,
"created_at": "2025-11-27T00:05:01.563-08:00",
"updated_at": "2025-11-27T00:05:01.563-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "e745fdcd-85d7-4701-ac19-b0e5f7591f05",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-cecc",
"enabled": true,
"created_at": "2025-11-27T00:05:01.559-08:00",
"updated_at": "2025-11-27T00:05:01.559-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "4895dec7-af5a-4fc1-bf29-c7936c76d2bd",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-d740",
"enabled": true,
"created_at": "2025-11-27T00:05:01.556-08:00",
"updated_at": "2025-11-27T00:05:01.556-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "d8d6efc9-e675-41a4-a57b-400e0d89c43d",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-7843",
"enabled": true,
"created_at": "2025-11-27T00:05:01.552-08:00",
"updated_at": "2025-11-27T00:05:01.552-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "05c5973e-4a4b-4cc0-a515-a15db31f820c",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-752f",
"enabled": true,
"created_at": "2025-11-27T00:05:01.543-08:00",
"updated_at": "2025-11-27T00:05:01.543-08:00",
"alerts_source_ids": [],
"owning_team_ids": [],
"rules": []
}
},
{
"id": "b705f514-c5f9-4524-bc73-5ec9be8d5824",
"type": "alert_routes",
"attributes": {
"name": "Alert Routing Rule 2",
"enabled": false,
"created_at": "2025-11-27T00:05:01.405-08:00",
"updated_at": "2025-11-27T00:05:01.405-08:00",
"alerts_source_ids": [
"68639a2f-9a68-4cae-ae97-eb2b32c92697"
],
"owning_team_ids": [
"0d8a9ee6-56d7-43ef-b929-20a32ca329f3"
],
"rules": [
{
"id": "d52ffa7a-c160-4157-83be-43468ee5919d",
"name": "Alert Routing Rule 2",
"alerts_source_id": "68639a2f-9a68-4cae-ae97-eb2b32c92697",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"target_type": "EscalationPolicy",
"target_id": "9331768a-ace8-40c8-8883-a5160c9cf4b9"
},
"created_at": "2025-11-27T00:05:01.413-08:00",
"updated_at": "2025-11-27T00:05:01.413-08:00",
"destinations": [
{
"target_type": "EscalationPolicy",
"target_id": "9331768a-ace8-40c8-8883-a5160c9cf4b9"
}
],
"condition_groups": [],
"owning_teams": [
{
"id": "0d8a9ee6-56d7-43ef-b929-20a32ca329f3",
"slug": "aut-quia-et-eligendi",
"name": "Aut quia et eligendi.",
"description": null,
"color": "#F4CFD1",
"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-05d054d48495d98b3922422fb76f5f34@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-27T00:05:00.168-08:00",
"updated_at": "2025-11-27T00:05:00.168-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
}
}