-
Hello, I've installed the latest relase version and I'm trying to figure out how the new "webhook payload signing" feature works. I've defined a signing key (ramdom 32 alphanumeric characters) but nothing changed in the info sent when webhooks are triggered. Can you/someone explain me how to use it ? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hello! The payload itself remains unchanged, but two new HTTP headers are now included in the request: To verify the signature, you need to:
Some examples are available at: https://docs.sms-gate.app/features/webhooks/#payload-signing |
Beta Was this translation helpful? Give feedback.
The signing logic is the same for all webhook events. Ensure that you are using the raw request body and concatenating it with the
X-Timestamp
header value without adding any extra characters in between.For example:
X-Timestamp
:1741912196
After concatenation, the string to sign becomes: