Overview
All requests sent to your endpoints will include the X-Ivy-Signature header. Verify this value to ensure the request is coming from Augustus and not from a third party.
To validate incoming requests:
- Obtain the
Webhook Signing Secret from the Augustus Dashboard
- Check the
X-Ivy-Signature Header against a newly calculated Signature for every incoming request
- Calculate the signature using the request body and the
Webhook Signing Secret with HMAC & SHA-256 Hash
Only if the signature is valid, continue processing the request!
If the signature is invalid, return a 4xx status code and do not process the request.
Code Examples