Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
AlertSources
Retrieves an alert source
AlertSources
Retrieves an alert source
Retrieves a specific alert source by id
GET
/
v1
/
alert_sources
/
{id}
curl --request GET \
--url https://api.rootly.com/v1/alert_sources/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "a60d30b7-8fa1-4184-8016-07711554681c",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 1",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "5d68889f8423f0f6f74840231e3916503851ab676a38dbf1b529caffe95ebe69",
"alert_urgency_id": "03927998-30b3-498c-b209-563d9b1c5569",
"created_at": "2025-03-13T11:58:43.835-07:00",
"updated_at": "2025-03-13T11:58:43.835-07:00",
"webhook_endpoint": "http://localhost:3001/webhooks/incoming/datadog_webhooks/notify/<TYPE>/<ID>",
"sourceable_attributes": {},
"alert_template_attributes": {}
},
"relationships": {
"alert_source_urgency_rules": {
"data": []
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/vnd.api+json
alert source found
Unique ID of the alert source
Available options:
alert_sources
The name of the alert source
The current status of the alert source
A secret key used to authenticate incoming requests to this alerts source
The URL endpoint of the alert source
Date of creation
Date of last update
ID for the default alert urgency assigned to this alert source
The alert source type
Additional attributes specific to certain alert sources (e.g., generic_webhook), encapsulating source-specific configurations or details
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_sources/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "a60d30b7-8fa1-4184-8016-07711554681c",
"type": "alert_sources",
"attributes": {
"name": "Alert Source 1",
"source_type": "datadog",
"status": "setup_incomplete",
"secret": "5d68889f8423f0f6f74840231e3916503851ab676a38dbf1b529caffe95ebe69",
"alert_urgency_id": "03927998-30b3-498c-b209-563d9b1c5569",
"created_at": "2025-03-13T11:58:43.835-07:00",
"updated_at": "2025-03-13T11:58:43.835-07:00",
"webhook_endpoint": "http://localhost:3001/webhooks/incoming/datadog_webhooks/notify/<TYPE>/<ID>",
"sourceable_attributes": {},
"alert_template_attributes": {}
},
"relationships": {
"alert_source_urgency_rules": {
"data": []
}
}
}
}