Skip to content
Forms 365
For developers

Send a webhook every time a form is submitted

A webhook lets your system hear about a form submission through an HTTPS request instead of polling for new entries. Forms365 Web signs its deliveries; Workspace can sign them when configured with a secret. Here is how to connect an endpoint and verify what arrives.

What a webhook does for a form

A webhook is a message your form sends to a URL you own. When a submission comes in, Forms 365 posts the submission to that URL as JSON. Your endpoint receives it and does whatever the moment calls for: create a ticket, kick off an onboarding task, notify a channel, or write into a system that does not live in Microsoft 365. No scheduled job checking for new rows, no lag.

What the request looks like

The delivery is an ordinary POST with a JSON body and a signature header, sent to the endpoint URL you register. This is the shape Forms365 Web sends; the values inside data are your form's fields:

POST https://your-app.example.com/hooks/forms
Content-Type: application/json
X-AiForms-Event: <event type>
X-AiForms-Signature: sha256=<hex HMAC-SHA256 of the raw body>

{
  "eventType": "<event type>",
  "formId": "<form id>",
  "submissionId": "<submission id>",
  "slug": "supplier-onboarding",
  "submittedAtUtc": "2026-07-22T03:14:00Z",
  "data": {
    "companyName": "Acme Pty Ltd",
    "abn": "51824753556",
    "contactEmail": "ops@acme.example.com"
  }
}

Forms365 Web signs every delivery: it computes an HMAC-SHA256 of the raw body using a secret only you and the form share, and sends it in the X-AiForms-Signature header. Forms365 Workspace webhooks are signed the same way, in an X-Forms365-Signature header, once you give the webhook a secret, and can carry custom headers. Your endpoint recomputes the same hash and compares. If they do not match, drop the request. That check is what stops someone posting fake submissions to your URL.

The example above shows a normal retained submission. In Web's SharePoint only; no data at rest mode, the webhook carries metadata and SharePoint pointers rather than the submitted answers. Read the record from your tenant using authorised access when the next system needs its contents.

Setting one up

  1. 1

    Expose an endpoint

    Stand up a URL that accepts a POST and returns 2xx quickly. Use HTTPS so the payload is encrypted in transit.

  2. 2

    Add the webhook to your form

    Point it at your endpoint URL and set the shared secret used to sign the payload.

  3. 3

    Verify the signature

    On each request, recompute the HMAC of the raw body with your secret and compare it to the header before you trust the data.

  4. 4

    Acknowledge fast, work async

    Return 2xx as soon as you have stored the payload, then do the slow work in the background so the delivery does not time out.

Plan for an endpoint that is sometimes down. Forms365 Web makes one delivery attempt and logs every attempt, which you can read back through the API, so you can see what failed. Forms365 Workspace makes up to three attempts in total and logs them on the server. Monitor failures and reconcile against the saved submission or SharePoint item; a saved record does not guarantee that the receiving system processed the webhook.

No native connector, and that is fine

Forms 365 does not ship a one-click Zapier or Make connector. An inbound webhook can connect them, but check whether the receiving endpoint can verify the signature over the raw body. If it cannot, use an endpoint or adapter that verifies the request before forwarding it. A hard-to-guess URL alone does not establish who sent the payload. Deduplicate deliveries using the submission identifier so retries do not create duplicate work.

Wire a form into your own systems.

14-day free trial. No credit card required.

Start free trial