Webhooks
Receive real-time HTTPS notifications when leads arrive or change state inside FormRoost. Every delivery uses a CloudEvents 1.0 JSON envelope signed with HMAC-SHA256.
Supported events and schemas
Each event type links directly to its published JSON Schema (dataschema):
Webhook endpoints per form scale with your plan (1 on Free and Starter, 3 on Growth, 5 on Agency, up to 100 on Enterprise), and each endpoint is scoped to either sandbox or production.
Example submission.created payload
Signature verification
Every webhook request includes verification headers:
X-FormRoost-Timestamp: Unix epoch seconds when the request was signedX-FormRoost-Signature:v1=<hex-hmac-sha256>computed over${timestamp}.${rawBody}using your endpoint's signing secret (whsec_...)X-FormRoost-Event-Id: Unique event ID (evt_...) for idempotent deduplicationX-FormRoost-Delivery-Id: Unique attempt delivery IDX-FormRoost-Attempt: Attempt number (1,2, ...)
Verify signatures against the raw UTF-8 request bytes with a constant-time comparison and reject timestamps outside a short replay window (for example, ±300 seconds). See Verify signed webhook receivers for copy-ready Node.js and Python receivers.
Retries, testing, and secret rotation
- Destination rules: Production endpoints must use public HTTPS URLs; local/private loopback and internal network addresses are blocked (
invalid_webhook_destination). - Delivery expectations: Return any
2xxstatus quickly before doing slow downstream work (such as calling third-party APIs or CRMs). Non-2xxresponses and timeouts retry automatically with backoff. - Inspect, test, and replay: From your form's Webhooks tab, send synthetic test deliveries, inspect recent delivery attempts/statuses, and replay past events (unless the submission has entered read-only retention archival,
409 submission_retention_archived). - Secret rotation: Rotate an endpoint's signing secret from the portal (requires recent password verification) to issue a new
whsec_...immediately and re-verify downstream receivers.