Retrieves a specific alert source by id
curl --request GET \
--url https://api.rootly.com/v1/alert_sources/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "f00d2ca4-f143-4f02-9917-25c48b1f8109",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 4",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "9166990f070eab148cba8cfa5beeda3618b7bd5e627b131ad694df9e23e46873",
"alert_urgency_id": "885ee5f9-d42b-41d3-875b-db25048320b9",
"created_at": "2025-07-21T23:13:44.386-07:00",
"updated_at": "2025-07-21T23:13:44.386-07:00",
"webhook_endpoint": "http://localhost:3001/webhooks/incoming/datadog_webhooks/notify/<TYPE>/<ID>",
"owner_group_ids": [],
"alert_source_urgency_rules_attributes": [],
"alert_source_fields_attributes": [],
"sourceable_attributes": null,
"alert_template_attributes": null,
"resolution_rule_attributes": null
},
"relationships": {
"alert_source_urgency_rules": {
"data": []
},
"alert_source_fields": {
"data": []
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
alert source found
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_sources/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "f00d2ca4-f143-4f02-9917-25c48b1f8109",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 4",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "9166990f070eab148cba8cfa5beeda3618b7bd5e627b131ad694df9e23e46873",
"alert_urgency_id": "885ee5f9-d42b-41d3-875b-db25048320b9",
"created_at": "2025-07-21T23:13:44.386-07:00",
"updated_at": "2025-07-21T23:13:44.386-07:00",
"webhook_endpoint": "http://localhost:3001/webhooks/incoming/datadog_webhooks/notify/<TYPE>/<ID>",
"owner_group_ids": [],
"alert_source_urgency_rules_attributes": [],
"alert_source_fields_attributes": [],
"sourceable_attributes": null,
"alert_template_attributes": null,
"resolution_rule_attributes": null
},
"relationships": {
"alert_source_urgency_rules": {
"data": []
},
"alert_source_fields": {
"data": []
}
}
}
}