How Linear delivers webhooks

Linear wants a 200 in 5 seconds and retries up to 3 times, after 1 minute, 1 hour and 6 hours. The linear-signature HMAC-SHA256 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 budget5s

Check whether your handler answers in time

RetryUp to 3 times, after 1 minute, 1 hour and 6 hours
Gives upMay be disabled if the URL stays unresponsive; threshold unpublished

Signature

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

AlgorithmHMAC-SHA256
Signed payloadraw body
Encodinghex
Headerlinear-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-SHA256(webhook secret, raw body))
const expected = crypto
  .createHmac("sha256", webhookSecret) // per webhook, on its detail page
  .update(rawBody)
  .digest("hex");
const received = Buffer.from(req.headers["linear-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 payload carries webhookTimestamp; checking it against the clock is your only replay defence, since the signature itself covers no timestamp.

Read more

AnyHook sits in front of endpoints that receive from Linear: 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 →