Skip to main content

POST /api/alerts/send

Sends email alerts via Resend. Supports health check alerts (pre-formatted HTML) and custom alerts.

Request body

Health alert

Custom alert

Response

Success

Not configured

Returns configured: false if Resend env vars are not set. This is not an error — it means alerts are simply disabled.