Send submissions to a webhook

A webhook sends each new submission to a URL you choose, as JSON.

Add a webhook

Open the form and go to Destinations. Under Webhooks, paste your URL and click Add. Copy the signing secret that appears: you won’t see it again.

Use the switch next to a webhook to pause it. A webhook whose URL keeps failing shows Failing.

Read the payload

{
  "type": "submission.created",
  "timestamp": "2026-11-21T09:30:00.000Z",
  "data": {
    "id": "sub_…",
    "form": { "id": "frm_…", "name": "Contact form" },
    "created_at": "2026-11-21T09:30:00.000Z",
    "test": false,
    "answers": { "name": "June", "email": "[email protected]" },
    "answers_by_id": { "fld_…": "June" },
    "fields": [{ "id": "fld_…", "key": "name", "label": "Name", "type": "short_text" }],
    "hidden_fields": { "user_id": "42" },
    "page_url": "https://example.com/pricing",
    "browser": "Chrome on Mac"
  }
}

answers uses each question’s column name, which stays the same when you reword the question. hidden_fields holds your hidden fields. When we don’t know the page or the browser, page_url or browser is left out.

Check the signature

Each request has webhook-id, webhook-timestamp and webhook-signature headers, following the Standard Webhooks spec. Any Standard Webhooks library can check them with your secret. In Node.js, without a library:

import { createHmac, timingSafeEqual } from "node:crypto";

function isFromWeLoveForms(req, rawBody, secret) {
  const id = req.headers["webhook-id"];
  const ts = req.headers["webhook-timestamp"];
  const key = Buffer.from(secret.replace("whsec_", ""), "base64");
  const expected = createHmac("sha256", key).update(`${id}.${ts}.${rawBody}`).digest("base64");
  return req.headers["webhook-signature"]
    .split(" ")
    .some((sig) => {
      const value = Buffer.from(sig.replace("v1,", ""));
      return value.length === expected.length && timingSafeEqual(value, Buffer.from(expected));
    });
}

Confirm each submission

Reply with any 2xx status to confirm you got the submission. If your URL times out or answers 429 or 5xx, we try again up to 10 times over about a day. Any other 4xx stops the retries.

To check one submission, open it in the Inbox. Its webhook shows Delivered, Retrying or Failed.

esc