Alerting & Response/Alert Channels & Integrations
POSTAlertingSince 1.0SynchronousAuth Required
ReceiveAlertmanagerWebhook
Receive alert notifications from Alertmanager webhook callbacks Auth: X-Webhook-Secret header (static secret, forwarded as gRPC metadata).
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
receiverStringRequiredReceiver name from Alertmanager configuration
Body Fields
versionStringRequiredAlertmanager API version
Example: 4
groupKeyStringRequiredGroup key identifying the alert group
Example: {}:{alertname=HighCPU}
truncatedAlertsIntegerRequiredNumber of alerts truncated from the payload
Example: 20
statusStringRequiredGroup status: firing or resolved
Example: firing
externalUrlStringRequiredExternal URL of the Alertmanager instance
Example: http://alertmanager:9093
Responses
Endpoint
POST/api/v1/alerting/webhook/{receiver}
/api/v1/alerting/webhook/{receiver}
Request Example
curl -X POST '{host}/api/v1/alerting/webhook/{receiver}' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"version":"4","groupKey":"{}:{alertname=HighCPU}","truncatedAlerts":20,"status":"firing","externalUrl":"http://alertmanager:9093","groupLabels":"(nested object)","commonLabels":"(nested object)","commonAnnotations":"(nested object)","alerts":"(nested array)"}'
Response Example
200{
"received": 5,
"created": 3,
"updated": 1,
"skipped": 1,
"injected": 4,
"fallback": false,
"fallbackReason": "primary channel unavailable"
}Change History
This API has no change history records yet.
