Grafana Alerting (available in Grafana OSS, Grafana Cloud, and Grafana Enterprise) supports webhook contact points that POST alert payloads to any URL. Alert24's incidents API accepts Grafana's webhook format with a small payload template.
Before you start
You'll need:
- An Alert24 API key with
writeorincidentsscope (Settings → API Keys) - Grafana 9+ (unified alerting)
Create a webhook contact point
- In Grafana, go to Alerting → Contact points
- Click + Add contact point
- Set Name to
Alert24 - Set Integration to Webhook
- Set URL to
https://app.alert24.net/api/v1/incidents - Expand Optional webhook settings
- Set HTTP Method to
POST - Add a Header:
Authorization→Bearer ak_live_YOUR_KEY - Set the Message (body template) to:
{ "title": "{{ .CommonAnnotations.summary | default .GroupLabels.alertname }}", "description": "{{ .CommonAnnotations.description }}", "severity": "{{ if eq .CommonLabels.severity \"critical\" }}critical{{ else if eq .CommonLabels.severity \"warning\" }}high{{ else }}medium{{ end }}", "alias": "grafana-{{ .GroupLabels.alertname }}-{{ .GroupLabels.instance | default \"global\" }}", "source": "grafana", "tags": ["grafana"] } - Click Test to verify the connection, then Save contact point
Attach to a notification policy
- Go to Alerting → Notification policies
- Click + New nested policy (or edit the default policy)
- Set Contact point to
Alert24 - Add label matchers to control which alerts route here (e.g.,
environment = production) - Click Save policy
Deduplication
The alias field uses alertname + instance from the Grafana alert's labels. If the same rule fires repeatedly, Alert24 increments the occurrence count on the existing incident.
Tips
- Grafana Cloud Alerting: The setup is identical for Grafana Cloud — configure the contact point under Alerting → Contact points in your Grafana Cloud stack.
OnCallintegration: If you use Grafana OnCall, you can route to both Alert24 (for incident tracking) and OnCall (for on-call paging) from the same notification policy.- Template variables: Grafana uses Go templates for the message body. The
{{ .CommonAnnotations.summary }}variable maps to thesummaryannotation on your alert rule — make sure your alert rules define asummaryannotation for clean incident titles. - Test button: Grafana's Test button sends a synthetic alert payload. The Alert24 incident it creates will have placeholder values — you can delete it from Incidents in Alert24 after testing.