Zum Inhalt springen
Analytics und API

How do I check a webhook signature?

Every delivery carries an HMAC-SHA256 of the body, made with that webhook’s signing secret, in the X-Webhook-Signature header. Compute the same thing over the raw body, before any parsing, and compare it in constant time.

A valid signature does not prove a delivery is recent, so check the timestamp inside the signed body as well and refuse anything older than a few minutes. Otherwise a captured delivery can be replayed at you unchanged.

Unter Signing and verification.

Deep Linking, das dir sagt, wenn etwas kaputtgeht

Tolinku hostet beide Association-Dateien, hält sie gültig, wenn sich deine Routen ändern, und zeigt dir den Schritt, an dem ein Link nicht mehr funktioniert hat.