X-Flock-Signature
header and a timestamp in the payload body of each webhook request. Follow these steps to verify the signature:
X-Flock-Signature
header, and the timestamp
is included in the JSON payload body.
Example header and payload:
Header:
timestamp
and the JSON string of the data
object.
timestamp
is within an acceptable range (e.g., 5 minutes from the current time).
Hereβs how you can validate the timestamp:
invitee.accepted
to send notifications to proper parties or even trigger your custom rewards.
200 OK
status.