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
curl --request GET \
--url https://api.rootly.com/v1/alert_routes \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "d3b90732-d855-48c0-be6b-e29083e5c22a",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-6391",
"enabled": true,
"created_at": "2025-09-18T20:52:07.171-07:00",
"updated_at": "2025-09-18T20:52:07.171-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "cea3482f-0114-4015-a335-30b4ef5b3d62",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-39c6",
"enabled": true,
"created_at": "2025-09-18T20:52:07.167-07:00",
"updated_at": "2025-09-18T20:52:07.167-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "d6fe329a-ab97-4132-8af0-6d8a6c1a481c",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-08c3",
"enabled": true,
"created_at": "2025-09-18T20:52:07.164-07:00",
"updated_at": "2025-09-18T20:52:07.164-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "c7d7a3bc-9f95-49c5-bb88-e8e2cd40d2ed",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-2145",
"enabled": true,
"created_at": "2025-09-18T20:52:07.160-07:00",
"updated_at": "2025-09-18T20:52:07.160-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "79db87c5-d8fb-496f-afc4-22a2d7c86b3a",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-3921",
"enabled": true,
"created_at": "2025-09-18T20:52:07.157-07:00",
"updated_at": "2025-09-18T20:52:07.157-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "31a9db9d-fcea-447f-9f94-a75938780483",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-7f02",
"enabled": true,
"created_at": "2025-09-18T20:52:07.153-07:00",
"updated_at": "2025-09-18T20:52:07.153-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "8cc62431-b181-4902-b2fd-1298b616f922",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-c0fd",
"enabled": true,
"created_at": "2025-09-18T20:52:07.150-07:00",
"updated_at": "2025-09-18T20:52:07.150-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "6768db81-6b06-4452-9ba3-01d6c568319a",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-601b",
"enabled": true,
"created_at": "2025-09-18T20:52:07.146-07:00",
"updated_at": "2025-09-18T20:52:07.146-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "e57b4cf7-50c5-4e98-84b4-bab22407c787",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-06c3",
"enabled": true,
"created_at": "2025-09-18T20:52:07.142-07:00",
"updated_at": "2025-09-18T20:52:07.142-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "ce8332e5-815a-43cc-bb4e-3a776df6a366",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-4f29",
"enabled": true,
"created_at": "2025-09-18T20:52:07.133-07:00",
"updated_at": "2025-09-18T20:52:07.133-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "47e1d55e-4786-460d-bf05-8c889af4789d",
"type": "alert_routes",
"attributes": {
"name": "Alert Routing Rule 1",
"enabled": false,
"created_at": "2025-09-18T20:52:06.975-07:00",
"updated_at": "2025-09-18T20:52:06.975-07:00",
"alerts_source_ids": [
"1d57346a-d74d-4d1c-ab2a-78cf56c1de28"
],
"owning_team_ids": [
"349adac6-17ac-4f3c-a819-1d839856d9ca"
]
},
"relationships": {
"alert_routing_rules": {
"data": [
{
"id": "30b62176-ada0-480c-b139-53ea9f3532b0",
"type": "alert_routing_rules"
}
]
}
}
}
],
"included": [
{
"id": "30b62176-ada0-480c-b139-53ea9f3532b0",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "1d57346a-d74d-4d1c-ab2a-78cf56c1de28",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"id": "a76360d9-78fb-4468-a206-76b693e8adb8",
"target_type": "EscalationPolicy",
"target_id": "8f17a7ad-1417-4625-ab70-1199482ea317",
"created_at": "2025-09-18T20:52:07.049-07:00",
"updated_at": "2025-09-18T20:52:07.049-07:00"
},
"created_at": "2025-09-18T20:52:06.985-07:00",
"updated_at": "2025-09-18T20:52:06.985-07:00",
"destinations": [
{
"id": "a76360d9-78fb-4468-a206-76b693e8adb8",
"target_type": "EscalationPolicy",
"target_id": "8f17a7ad-1417-4625-ab70-1199482ea317",
"created_at": "2025-09-18T20:52:07.049-07:00",
"updated_at": "2025-09-18T20:52:07.049-07:00"
}
],
"condition_groups": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "349adac6-17ac-4f3c-a819-1d839856d9ca",
"type": "groups"
}
]
}
}
}
],
"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": "d3b90732-d855-48c0-be6b-e29083e5c22a",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-6391",
"enabled": true,
"created_at": "2025-09-18T20:52:07.171-07:00",
"updated_at": "2025-09-18T20:52:07.171-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "cea3482f-0114-4015-a335-30b4ef5b3d62",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-39c6",
"enabled": true,
"created_at": "2025-09-18T20:52:07.167-07:00",
"updated_at": "2025-09-18T20:52:07.167-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "d6fe329a-ab97-4132-8af0-6d8a6c1a481c",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-08c3",
"enabled": true,
"created_at": "2025-09-18T20:52:07.164-07:00",
"updated_at": "2025-09-18T20:52:07.164-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "c7d7a3bc-9f95-49c5-bb88-e8e2cd40d2ed",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-2145",
"enabled": true,
"created_at": "2025-09-18T20:52:07.160-07:00",
"updated_at": "2025-09-18T20:52:07.160-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "79db87c5-d8fb-496f-afc4-22a2d7c86b3a",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-3921",
"enabled": true,
"created_at": "2025-09-18T20:52:07.157-07:00",
"updated_at": "2025-09-18T20:52:07.157-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "31a9db9d-fcea-447f-9f94-a75938780483",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-7f02",
"enabled": true,
"created_at": "2025-09-18T20:52:07.153-07:00",
"updated_at": "2025-09-18T20:52:07.153-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "8cc62431-b181-4902-b2fd-1298b616f922",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-c0fd",
"enabled": true,
"created_at": "2025-09-18T20:52:07.150-07:00",
"updated_at": "2025-09-18T20:52:07.150-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "6768db81-6b06-4452-9ba3-01d6c568319a",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-601b",
"enabled": true,
"created_at": "2025-09-18T20:52:07.146-07:00",
"updated_at": "2025-09-18T20:52:07.146-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "e57b4cf7-50c5-4e98-84b4-bab22407c787",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-06c3",
"enabled": true,
"created_at": "2025-09-18T20:52:07.142-07:00",
"updated_at": "2025-09-18T20:52:07.142-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "ce8332e5-815a-43cc-bb4e-3a776df6a366",
"type": "alert_routes",
"attributes": {
"name": "Test Alert Route-4f29",
"enabled": true,
"created_at": "2025-09-18T20:52:07.133-07:00",
"updated_at": "2025-09-18T20:52:07.133-07:00",
"alerts_source_ids": [],
"owning_team_ids": []
},
"relationships": {
"alert_routing_rules": {
"data": []
}
}
},
{
"id": "47e1d55e-4786-460d-bf05-8c889af4789d",
"type": "alert_routes",
"attributes": {
"name": "Alert Routing Rule 1",
"enabled": false,
"created_at": "2025-09-18T20:52:06.975-07:00",
"updated_at": "2025-09-18T20:52:06.975-07:00",
"alerts_source_ids": [
"1d57346a-d74d-4d1c-ab2a-78cf56c1de28"
],
"owning_team_ids": [
"349adac6-17ac-4f3c-a819-1d839856d9ca"
]
},
"relationships": {
"alert_routing_rules": {
"data": [
{
"id": "30b62176-ada0-480c-b139-53ea9f3532b0",
"type": "alert_routing_rules"
}
]
}
}
}
],
"included": [
{
"id": "30b62176-ada0-480c-b139-53ea9f3532b0",
"type": "alert_routing_rules",
"attributes": {
"name": "Alert Routing Rule 1",
"alerts_source_id": "1d57346a-d74d-4d1c-ab2a-78cf56c1de28",
"condition_type": "all",
"enabled": false,
"position": 1,
"destination": {
"id": "a76360d9-78fb-4468-a206-76b693e8adb8",
"target_type": "EscalationPolicy",
"target_id": "8f17a7ad-1417-4625-ab70-1199482ea317",
"created_at": "2025-09-18T20:52:07.049-07:00",
"updated_at": "2025-09-18T20:52:07.049-07:00"
},
"created_at": "2025-09-18T20:52:06.985-07:00",
"updated_at": "2025-09-18T20:52:06.985-07:00",
"destinations": [
{
"id": "a76360d9-78fb-4468-a206-76b693e8adb8",
"target_type": "EscalationPolicy",
"target_id": "8f17a7ad-1417-4625-ab70-1199482ea317",
"created_at": "2025-09-18T20:52:07.049-07:00",
"updated_at": "2025-09-18T20:52:07.049-07:00"
}
],
"condition_groups": []
},
"relationships": {
"owning_teams": {
"data": [
{
"id": "349adac6-17ac-4f3c-a819-1d839856d9ca",
"type": "groups"
}
]
}
}
}
],
"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
}
}