Open your form's Integrations tab, add a Webhook and enter a public https:// URL (paid plans). Each submission is POSTed as JSON, with your form's fields at the top level:
{ "name": "Ada", "email": "ada@example.com", "message": "Hello",
"subject": "New submission", "from_name": "My site", "submittedAt": "2026-11-15T10:00:00.0000000Z" }
subject, from_name and submittedAt are added for you; if your form has its own field called subject, from_name or submittedAt, your value is kept (so avoid a field named submittedAt if you rely on our timestamp). Uploaded files appear as signed download links. Use field mapping to rename fields.
Your endpoint should answer with a 2xx status within 30 seconds. Failed deliveries (timeouts, network errors, 5xx and 429) are retried: 6 attempts in total (the first try plus 5 retries, after about 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours). Other 4xx answers aren't retried, because retrying won't fix them. You can resend any delivery from the delivery log.
Verify the signature
Webhooks follow the Standard Webhooks specification. Every request carries three headers:
| Header | Value |
|---|---|
webhook-id |
A unique message id. It stays the same when a delivery is retried, so you can ignore duplicates. |
webhook-timestamp |
When this attempt was sent (Unix seconds). Reject requests more than 5 minutes old to stop replays. |
webhook-signature |
v1,<base64>: an HMAC-SHA256 of webhook-id.webhook-timestamp.body. During a secret rotation it lists two signatures separated by a space. |
The signing secret is shown on your form's Integrations tab and starts with whsec_. Any Standard Webhooks library can verify the request with it, so you don't have to write the crypto yourself:
// Node.js (Express) — npm install standardwebhooks
import { Webhook } from 'standardwebhooks';
const wh = new Webhook(process.env.SYF_SECRET); // the whsec_… secret
app.post('/hooks/forms', express.raw({ type: 'application/json' }), (req, res) => {
try {
const submission = wh.verify(req.body.toString('utf8'), req.headers); // checks signature and timestamp
res.sendStatus(200);
} catch {
res.sendStatus(401);
}
});
Register the route before any global app.use(express.json()), or the raw body is gone by the time you verify it.
# Python (Flask) — pip install standardwebhooks
import os
from flask import Flask, request
from standardwebhooks.webhooks import Webhook
app = Flask(__name__)
wh = Webhook(os.environ["SYF_SECRET"])
@app.post("/hooks/forms")
def hook():
try:
submission = wh.verify(request.get_data(), dict(request.headers))
except Exception:
return "", 401
return "", 200
Without a library, the check is short. In C#:
// C# (ASP.NET Core): verify by hand
app.MapPost("/hooks/forms", async (HttpRequest req, IConfiguration config) =>
{
var secret = config["SYF_SECRET"]!; // whsec_… from the Integrations tab
// Standard Webhooks: the key is the base64 text after "whsec_", decoded to bytes.
var key = Convert.FromBase64String(secret["whsec_".Length..]);
using var reader = new StreamReader(req.Body, Encoding.UTF8);
var body = await reader.ReadToEndAsync();
string id = req.Headers["webhook-id"].ToString(), ts = req.Headers["webhook-timestamp"].ToString();
if (id.Length == 0 || ts.Length == 0) return Results.Unauthorized();
if (!long.TryParse(ts, out var seconds) || Math.Abs(DateTimeOffset.UtcNow.ToUnixTimeSeconds() - seconds) > 300)
return Results.Unauthorized();
var expected = "v1," + Convert.ToBase64String(HMACSHA256.HashData(key, Encoding.UTF8.GetBytes($"{id}.{ts}.{body}")));
var ok = req.Headers["webhook-signature"].ToString().Split(' ')
.Any(sig => CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(sig), Encoding.UTF8.GetBytes(expected)));
return ok ? Results.Ok() : Results.Unauthorized();
});
Older signature header
For receivers set up before November 2026, each request also carries X-SubmitYourForm-Signature: sha256=<hex>: an HMAC-SHA256 of the raw body keyed with the UTF-8 bytes of the whole whsec_… secret. It has no timestamp, so new integrations should use the headers above.
Rotating the secret
Rotate secret creates a new one. For 24 hours webhook-signature carries signatures with both the new and the old secret (and X-SubmitYourForm-Signature-Previous the old legacy signature), so you can switch without dropping events.
Field mapping
Rename or leave out fields with one rule per line: email => Email renames, -phone leaves phone out. The same mapping works for Notion and Airtable.