Every webhook request includes an X-Webhook-Signature header containing an HMAC-SHA256 signature. You should always verify this signature before processing the payload to ensure the request came from SendKit.
How it works
SendKit signs the JSON payload using your webhook’s signing secret:
The resulting hex digest is sent in the X-Webhook-Signature header.
Verification examples
Rotating secrets
You can rotate your webhook’s signing secret at any time from the dashboard. After rotation, use the new secret to verify future deliveries. Previous deliveries will still show the old signature in logs.
After rotating a secret, update your application immediately. Requests signed with the old secret will fail verification.