Skip to content

Alert webhooks

Webhooks are the delivery channel for alert rules. Create one, then reference it from one or more rules.

Terminal window
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

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.

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.