Alert webhooks
Webhooks are the delivery channel for alert rules. Create one, then reference it from one or more rules.
Add a webhook
Section titled “Add a webhook”curl -X POST https://manage.yourdomain.com/api/webhooks \ -H "Authorization: Bearer sd_..." \ -H "Content-Type: application/json" \ -d '{"name":"slack","type":"slack","url":"https://hooks.slack.com/services/..."}'| Field | Notes |
|---|---|
name |
Friendly identifier |
type |
slack, telegram, discord, or custom |
url |
Target URL (https only by policy) |
template_override |
Optional Go template for custom payload (super_admin only) |
headers_json |
Optional JSON object of additional headers |
Delivery
Section titled “Delivery”Each alert is sent once. If the target is down or answers with an error, SimpleDeploy logs the failure and does not retry, so point webhooks at a reliable endpoint.
Security
Section titled “Security”Outbound webhooks are SSRF-protected: only http:// and https:// schemes, blocked private/loopback/metadata IPs, and allow-listed headers. See Security hardening for details.
See also: Alert rules, Recipes.