Signature verification
- Algorithm: HMAC-SHA256
- Header: signature
- Key:
organisationIdprovided to you - Signed content: the entire JSON request body exactly as received
- Encoding: lower-case hexadecimal
Request contents
Body:
timestamp: ISO-8601 time when the webhook was prepared- Event fields: all event-specific properties for the configured event type
Headers:
Content-Type: application/jsonsignature:<hex HMAC>
How to verify
- Read the
signatureheader from the request - Use the exact request body as the message
- Compute an HMAC-SHA256 digest using your
organisationIdas the key and the exact request body as the message - Represent the digest as a lower-case hex string
- Compare it to the
signatureheader
Updated 7 months ago
