If you want to verify whether the request was in fact sent from Fourthwall you can do that by calculating the webhook digital signature.Documentation Index
Fetch the complete documentation index at: https://docs.fourthwall.com/llms.txt
Use this file to discover all available pages before exploring further.
Getting your secret key
First head to the webhook configuration panel in your site settings and find the secret key value assigned to your shop, e.g.:Verifying the signature
Each webhook request comes with anX-Fourthwall-Hmac-SHA256 base64 encoded header. To verify the request:
- Compute the HMAC-SHA256 using your secret key and the entire webhook body
- Base64 encode the result
- Compare with the header value
Signature verification for Platform Apps
The verification process for Platform Apps is the same, but uses a different header:X-Fourthwall-Hmac-Apps-SHA256.
You can get your HMAC key in your app’s settings.