What is a Webhook Signature?

A webhook signature is a cryptographic hash, usually HMAC-SHA256, that a sending system computes over the outgoing payload with a shared secret so the receiver can verify the request genuinely came from that sender and was not tampered with in transit.

The sending service computes the HMAC of the raw request body (and often a timestamp, to prevent replay) using a secret both parties know, then attaches the result as a header like `X-Signature` or `Stripe-Signature`. The receiver recomputes the same hash locally over the exact bytes it received and compares it to the header value using a constant-time comparison, never a plain string equality check, since naive comparisons leak timing information an attacker could exploit. Signature verification is the single most important control on any public webhook endpoint, because the URL itself is often guessable or leaked in logs. Without it, anyone could POST a fabricated "payment succeeded" or "user upgraded" event straight to the endpoint. Including a timestamp in the signed payload and rejecting requests outside a short tolerance window also blocks replay attacks where an old, legitimately-signed request is resent later.

In practice with Neotask

Every inbound webhook Neotask accepts is verified against its provider's signing secret with a timing-safe comparison before any agent or workflow acts on it, and stale timestamps are rejected outright. This keeps a leaked or brute-forced webhook URL from becoming an attack surface.

Related terms

Start free

Plans

Free

$0/mo

Download without a card and start for free.

Individual

$50/mo

The full personal agent platform for one person.

Enterprise

$200/mo

Multiple workspaces and capacity for larger teams.

Continue