Webhook Signatures
HarborGuard signs all webhook payloads with HMAC-SHA256, allowing you to verify that payloads originate from HarborGuard and have not been tampered with.
Signature Header
Each webhook request includes an X-HarborGuard-Signature header containing the HMAC-SHA256 signature of the request body.
Verification
- Read the raw request body (do not parse JSON first)
- Compute HMAC-SHA256 using your webhook secret as the key
- Compare the computed signature with the
X-HarborGuard-Signatureheader - Reject requests where signatures do not match
Delivery History
View webhook delivery history, including response codes and retry attempts, from the channel detail page in Settings > Notifications.