List alert sources
curl --request GET \
--url https://api.rootly.com/v1/alert_sources \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "alert_sources",
"attributes": {
"alert_urgency_id": "<string>",
"name": "<string>",
"source_type": "email",
"status": "<string>",
"secret": "<string>",
"webhook_endpoint": "<string>",
"email": "<string>",
"owner_group_ids": [
"<string>"
],
"created_at": "<string>",
"updated_at": "<string>",
"sourceable_attributes": {},
"resolution_rule_attributes": {},
"alert_source_fields_attributes": [
{
"alert_field_id": "<string>",
"template_body": "<string>"
}
]
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
success
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/alert_sources \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "alert_sources",
"attributes": {
"alert_urgency_id": "<string>",
"name": "<string>",
"source_type": "email",
"status": "<string>",
"secret": "<string>",
"webhook_endpoint": "<string>",
"email": "<string>",
"owner_group_ids": [
"<string>"
],
"created_at": "<string>",
"updated_at": "<string>",
"sourceable_attributes": {},
"resolution_rule_attributes": {},
"alert_source_fields_attributes": [
{
"alert_field_id": "<string>",
"template_body": "<string>"
}
]
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}