We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ea6c91 commit 77eb5cfCopy full SHA for 77eb5cf
1 file changed
content/2.api-v2/4.webhooks.md
@@ -39,6 +39,8 @@ FreeStuff signs every webhook request as per [Standard Webhooks Spec](https://gi
39
- Make sure to take the raw http body (prior to parsing the JSON content) for the verification `payload`
40
- Make sure to store the `msg_id` for a certain amount of time to prevent package duplication and replay attacks
41
- Make sure to ignore requests with an old `Webhook-Timestamp` value
42
+ - The timestamp is stored as seconds since `2025-01-01`
43
+ - To calculate the current time multiply by `1000`, then add `1735689600000`
44
- Make sure to use the payload body `timestamp` field as the contextual timestamp and use the header only for verification
45
46
::alert{type="info"}
0 commit comments