---
title: "Form webhooks"
description: "Send each submission as JSON to your own HTTPS endpoints, with custom headers and a delivery log."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.atomicity.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Form webhooks

Push every submission into a CRM, a spreadsheet, an automation tool like Zapier or Make, or your own code. Each submission is sent to every active webhook URL as a JSON `POST`, after [field rules](https://docs.atomicity.dev/forms/rules/) run.

Only your agency team can manage a form's webhooks.

## Add a webhook

1. Open the form and go to **Settings → Webhooks**.
2. Under **Add a webhook URL**, enter the endpoint. It must be a full URL that starts with `https://`.
3. Optional: under **Headers**, add headers sent with every delivery, such as an API key or a bearer token. Select **Add header** for each one, then **Save headers**.
4. Select **Send test** to post a sample submission and check the endpoint answers.

**Example payload** on the same tab shows what your latest submission would look like if it were sent through a webhook, after your rules run. Before the form has any submissions, it shows the made-up submission **Send test** posts.

## The payload

```json
{
  "event": "submission",
  "formId": "YOUR_FORM_ID",
  "submissionId": "3f6c1a7e-…",
  "submittedAt": "2026-12-01T21:14:03.000Z",
  "test": false,
  "fields": {
    "name": "Jane Doe",
    "email": "jane@example.com",
    "message": "Hello from my site"
  },
  "attachments": {
    "count": 1,
    "files": [
      {
        "name": "brief.pdf",
        "type": "application/pdf",
        "size": 482113,
        "url": "https://app.atomicity.dev/api/submission-files/…"
      }
    ]
  }
}
```

- `fields` holds the fields as your rules left them. A field sent more than once has its values joined with `, `.
- `test` is `true` for submissions from `localhost` or a staging or preview copy of the site.
- Each file `url` works without signing in for 7 days.

Every delivery is signed, so your endpoint can check it came from Atomicity. Copy the webhook's signing secret from its row, then verify the `X-Atomicity-Signature` header as shown in [Webhook signatures and retries](https://docs.atomicity.dev/reference/webhooks/#verify-a-signature).

## Delivery and failures

Your endpoint has 8 seconds to answer each attempt. Any `2xx` status counts as delivered.

If it times out, can't be reached, or answers `408`, `429`, or a `5xx`, the delivery is retried, up to 6 attempts over about 8.5 hours. Any other `4xx` isn't retried. Every attempt sends the same body, so use `submissionId` to ignore a submission you've already handled. See the full [retry schedule](https://docs.atomicity.dev/reference/webhooks/#retry-schedule).

A submission held as spam isn't sent until you mark it **Not spam** and [send what was held](https://docs.atomicity.dev/forms/submissions/#send-a-held-submission).

After **3 failed deliveries in a row**, the webhook is paused, so a broken endpoint doesn't keep failing. A delivery counts as failed only once all its attempts have failed. To start it again, select **Send test** and get a successful answer, or switch the webhook off and on. A failed test doesn't count toward pausing.

## Check deliveries

Each webhook shows its **Last delivery**, with when it happened and the status code it got back, such as "2 hours ago · 200", or **Timed out** or **No response**. Each submission's **Sent** section also lists its webhook deliveries.

## Pause or remove a webhook

Switch a webhook off to stop deliveries while keeping its URL and headers. Select **Remove** to delete it. Deliveries already made stay in the log.

## Related

- [Field rules](https://docs.atomicity.dev/forms/rules/)
- [Webhook signatures and retries](https://docs.atomicity.dev/reference/webhooks/)
- [File uploads](https://docs.atomicity.dev/forms/file-uploads/)

Source: https://docs.atomicity.dev/forms/webhooks/index.mdx
