Glossary

Webhook signature defined.

A webhook signature is a hash sent alongside a webhook, usually in a header like x-form-signature, that lets the receiver verify the payload really came from the sender and was not altered in transit.

Definition

How a webhook signature works

A webhook endpoint is a URL that anyone on the internet can POST to, so the receiver has no built-in way to know a request is genuine. A signature closes that gap. The sender and receiver share a secret, and for every webhook the sender computes a hash (an HMAC) over the exact bytes of the request body, keyed with that secret, and puts the result in a header.

When the request arrives, your handler recomputes the same hash over the raw body it received and compares the two with a constant-time check. A match proves two things at once: only the holder of the secret could have produced that hash (authenticity), and if a single byte of the body had changed the hash would differ (integrity).

For a form backend the payload is a submission, so a webhook signature is what stops an attacker from POSTing fake leads to your endpoint. FormWire signs every webhook this way and documents the exact header and verification steps.

Related questions

Want to see it working?

Read the docs
Ready in a minute

Trust every webhook you receive.

Free tier forever. No credit card required.