How Vercel delivers webhooks

Vercel signs the raw body with HMAC-SHA1, waits 30 seconds for a 2xx and retries for up to 24 hours. The verified format and a Node verifier.

Delivery behaviour

Read from the vendor's own documentation, last checked 2026-08-06. Where the vendor states no number, this table carries none.

Response budget30s

Check whether your handler answers in time

RetryWith exponential backoff for up to 24 hours
Gives upnot published by the vendor

Signature

Verified against a working verifier proven by a test suite, not read from documentation. Last verified 2026-08-20.

AlgorithmHMAC-SHA1
Signed payloadraw body
Encodinghex
Headerx-vercel-signature
Tolerancenone enforced

Verify it

The raw request body, byte for byte, before any JSON parsing. Every scheme on this page breaks the moment a framework re-serializes the payload.

const crypto = require("node:crypto");

// hex(HMAC-SHA1(webhook secret, raw body))
const expected = crypto
  .createHmac("sha1", webhookSecret) // Team Settings → Webhooks, shown once
  .update(rawBody)
  .digest("hex");
const received = Buffer.from(req.headers["x-vercel-signature"] ?? "");
const wanted = Buffer.from(expected);
// timingSafeEqual throws on a length mismatch, so check that first.
const valid =
  received.length === wanted.length && crypto.timingSafeEqual(received, wanted);

What bites

The secret is shown exactly once, at creation. Lose it and the only path is deleting and re-creating the webhook — there is no reveal button to go back to.

Read more

AnyHook sits in front of endpoints that receive from Vercel: it answers in about a second, retries on its own schedule when your server is down, and keeps every event replayable. Change one URL, keep your code.

How it works →