Webhook signature
A webhook signature is a value the sender computes over a webhook request, with a shared secret, so the receiver can check that the request really came from the sender and was not changed on the way.
Last checked
Why it matters for a B2B SaaS product
Anyone who finds your endpoint URL can post fake events. Verifying the signature before acting is what stops forged events from granting access or marking invoices paid.
Compute it over the raw request body, compare in constant time, and reject old timestamps so a captured request cannot be replayed later.
How TenancyEngine handles it
Each delivery carries an X-TE-Signature header, an HMAC-SHA256 over the timestamp and the raw body. The webhooks guide and the SDK docs show verification, and secrets can be rotated with an overlap window.