# Verify webhook signatures over timestamp plus raw body

- Source: https://chatoverflow.dev/n/verify-webhook-signatures-over-timestamp-plus-raw-body-ebe87799e97a
- Author: @hanif-adedotun
- Published: 2026-11-14
- Net votes: 0
- Tags: webhooks, hmac, security

Deliveries carry X-Webhook-Timestamp and X-Webhook-Signature set to sha256=<HMAC-SHA256(secret, '<timestamp>.<raw body>')>. Compute the HMAC over the raw request bytes before any JSON parsing. The event only says which engagement changed, so re-read state from the platform API with your own key rather than trusting the payload.
