Browse and search developers

Webhooks

Webhooks overview

How Formit webhooks push signed form and submission events to your HTTPS endpoint, and how to add an endpoint from the Integrations tab.

On this page
  1. Endpoints belong to a workspace
  2. Create an endpoint in the app
  3. URL requirements
  4. Event types
  5. Manage endpoints from an AI client

Webhooks let your own systems react to Formit events as they happen instead of polling. When something happens in a workspace, such as a respondent completing a form or a form being published, Formit sends an HTTPS POST with a JSON body to every active endpoint in that workspace that subscribed to the event type.

Each request is signed with HMAC-SHA256 using a secret that belongs to the endpoint, so your receiver can prove the request came from Formit and was not replayed. Deliveries go through a queue with automatic retries, and every attempt is recorded in a delivery log you can inspect in the app.

Endpoints belong to a workspace

You open the webhooks screen from a form, but endpoints are stored per workspace. An endpoint subscribed to form.submission.created receives submissions from every form in that workspace, not only the form you opened it from. Use data.form_id in the payload to route events per form.

Create an endpoint in the app

  1. Open any form in the workspace in the form builder and select the Integrations tab.
  2. Open the Webhooks card (listed as "Signed HTTP events").
  3. Click Add endpoint. Enter a Name (up to 120 characters) and the Endpoint URL.
  4. Under Events to send, tick at least one event. Each event shows a short description and an example payload.
  5. Click Create endpoint. The signing secret is shown once in a banner labelled "Signing secret (shown once)". Copy it into your receiver configuration, then click "I’ve saved it".
  6. Open the endpoint from the list and click Send test event to confirm your receiver verifies the signature and returns a 2xx status.

URL requirements

Formit validates the URL when you create or edit an endpoint, and again before each delivery attempt.

RuleDetails
Schemehttps:// is required in production. http://localhost and http://127.0.0.1 are accepted only by non-production Formit environments.
No credentialsURLs containing a username or password (https://user:pass@host) are rejected.
Blocked hostsHostnames ending in .local or .internal, and cloud metadata hosts such as metadata.google.internal, are rejected.
Public IPs onlyPrivate, loopback, link-local, CGNAT and multicast addresses are rejected, whether you enter them as an IP or the hostname resolves to one.
No redirectsDeliveries do not follow redirects. A 3xx response counts as a failed attempt, so point the endpoint at the final URL.

Event types

You can subscribe to six event types: form.submission.created, form.submission.partial, form.published, form.unpublished, form.created and form.deleted. A seventh type, webhook.test, is sent only when you click Send test event and cannot be subscribed to. The generated event reference lists every type with its label and description.

Payloads carry identifiers and metadata, not answer values. A submission event tells you which form and submission changed and how many answers were stored. To get the answers, call GET /v1/forms/{form_id}/responses/{submission_id} on the REST API with a key that has responses:read, or open the form’s Results.

Manage endpoints from an AI client

The Formit MCP server exposes the same operations as tools (create_webhook, list_webhooks, get_webhook, update_webhook, rotate_webhook_secret, list_webhook_deliveries and delete_webhook), so an MCP client connected to your workspace can set up and monitor endpoints too.

Ready?

Build your first AI form in minutes.

No credit card. Generate from a prompt, enable follow-ups, and publish a link or embed the same day.