Schema for posting and updating outbound webhooks to Datadog, PagerDuty, Slack, and other tools
{
"body": {
"short_description": "Moogsoft Incident # $incident_id '$id' - Total alerts: $total_alerts",
"timestamp": "$created_at"
},
"filter": "severity in ( Critical, Major, Minor)",
"headers": {
"Authorization": "basic <api_key>",
"Content-Type": "application/json"
},
"id": "3837f430-7a91-46ab-bd99-22d653d857f1",
"name": "high-priority incidents to my-org",
"status": "RUNNING",
"type": "INCIDENT",
"url": "https://djb46980.my-org.org/api/v1/webhook/notifications"
}
body
short_description
string
A summary of the alert or incident. To include the value of an alert or incident field, use a $ prefix and the key — for example, $alert_id
or $severity
. See Alerts API Object and Incidents API Object.
timestamp
timestamp macro
By default, this uses the created_at
field.
filter
You can specify an alert or incident filter to ensure the integration notifies only on alerts or incidents of interest.
headers
JSON object
Specify the API key, content type, and any other header information required by the target webhook.
id
string
Moogsoft auto-assigns this ID when it creates the integration.
name
string
User-defined name, must be unique.
status
string
The current integration status.
type
string
The type of object the integration posts: "INCIDENT" or "ALERT."
url
string
The target URL.