HookStack signs every webhook request to ensure the authenticity and integrity of the payload.
This guide explains how to verify these signatures in your webhook handlers.
Always verify the signature before processing any webhook payload
Reply Quickly
HookStack requires a response to the webhook request within 7 seconds.
No response will be interpreted as a failed request (504 timeout). Use background processing tasks
to handle webhook processing after verifying the signature and sending a response.
Check Timestamp
Verify the timestamp is recent (within 5 minutes) to prevent replay attacks
Use Environment Variables
Store your signing secret in environment variables, never in code
Handle Errors Gracefully
Return appropriate HTTP status codes for verification failures;
this allows HookStack to retry the request.