# Webhooks and Integrations: Send Every Submission Where It Needs to Go

Signed webhooks for your own code, with retries and a log of every attempt.
Zapier, Google Sheets, Slack and HubSpot for everything else, without code.

## Signed Webhooks (Starter and up)

Add your URL to a form and FormKeep POSTs each real submission to it: your
fields, plus a `created_at` timestamp. Spam is never sent.

- Every delivery carries an `X-FormKeep-Signature` header: a timestamp and an HMAC-SHA256 of the raw body, keyed with the form's signing secret.
- If your server can't be reached, FormKeep retries. If it answers with an error, the owner is emailed.
- The URL must be public. Addresses on private networks are refused, and redirects are checked too.
- Zapier, Rollout and ActiveCampaign hooks are not signed.

```
POST https://your-app.example/hooks/formkeep
Content-Type: application/json
X-FormKeep-Signature: t=1763560112,v1=9f2c4e…

{
  "email": "dana@northwind.example",
  "message": "Could you quote for 40 units?",
  "created_at": "2026-11-19T10:15:12.000-05:00"
}
```

## Verify the Signature

1. Read the raw request body before any JSON parsing.
2. Split the header on `,` then on the first `=` to get `t` and `v1`.
3. Compute HMAC-SHA256 of `t.body` with the signing secret, as hex.
4. Compare with `v1` in constant time. Reject a `t` more than 5 minutes from your clock.

```js
const crypto = require("crypto");

function verify(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=", 2)));
  const expected = crypto.createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
  const a = Buffer.from(expected);
  const b = Buffer.from(parts.v1);
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}
```

[Full guide with Node, Python and Ruby](https://formkeep.com/guides/verify-webhook-signatures)

## Delivery Log (Starter and up)

FormKeep keeps a delivery log of every attempt for 30 days: when it ran, which webhook,
how it ended, the HTTP status, how long it took and what the server said when it failed.

- Re-send any submission's webhook from the log or the submission itself.
- A re-send posts the webhook only: no new email, no other integrations.
- Spam is never delivered.

## Integrations (Pro and up)

- Zapier, Google Sheets, Slack, HubSpot and more, without code. [Integrations](https://formkeep.com/integrations)
- [Zapier with webhooks](https://formkeep.com/guides/send-form-submissions-to-zapier-with-webhooks)

## REST API (Starter and up)

Read your submissions by REST API. The API is read-only: submissions come in
through the [form endpoint](https://formkeep.com/features/form-endpoint-api). Turn it on per form, then use the form's API token.
See the [API documentation as Markdown](https://formkeep.com/docs/api.md).

```bash
curl "https://formkeep.com/api/v1/forms/your-form-token/submissions.json?api_token=your-api-token" \
  -H "User-Agent: MyApp/1.0 (you@example.com)"
```

## Questions

- **Which plans have webhooks?** Starter and up. Zapier, Google Sheets, Slack and the other apps are Pro and up.
- **JSON or form-encoded?** Manual webhooks post JSON. A form's original webhook URL setting posts form-encoded. Both are signed.
- **Do I have to verify the signature?** No, but you should. Only you and FormKeep know the signing secret.
- **What if my server is down?** FormKeep retries when it can't reach your server and emails you when your endpoint answers with an error. The log shows each attempt, and you can re-send.
- **Does spam trigger webhooks?** No.

## Links

- [Form backend](https://formkeep.com/features/form-endpoint-api)
- [Hosted forms](https://formkeep.com/features/form-builder)
- [Spam protection](https://formkeep.com/features/spam-protection)
- [Teams and agencies](https://formkeep.com/features/teams)
- [Pricing](https://formkeep.com/pricing)
- [Create an account](https://formkeep.com/sign_up)

## About This Document

This is the agent-friendly Markdown version of the FormKeep webhooks and integrations page.
The canonical page is https://formkeep.com/features/webhooks.
