Webhook Signature
A webhook signature is a hash that Filestack sends with each webhook in the FS-Signature header. Your server recomputes it to confirm the webhook came from Filestack.
Headers
FS-Signature: the signatureFS-Timestamp: the time the webhook was sent. It can differ from the timestamp in the webhook body.
Checking a Webhook
- Join the
FS-Timestampvalue, a period and the raw request body:{FS-Timestamp}.{body} - Hash that string with HMAC-SHA256, using the webhook secret key from the Developer Portal
- Compare the result with
FS-Signature. If they match, the webhook came from Filestack.
SDK Helpers
The Filestack SDKs include a function to verify webhook signatures, for example Client.verify_webhook_signature in Python.
Related terms
Webhooks
Event-driven communication mechanism for asynchronous operations.
Signature
An HMAC-SHA256 hash that proves a security policy was created with your app secret.
Security Policies
Signed rules that control which Filestack requests are allowed and for how long.
More in Security
This page is one of 94 terms in the Filestack glossary.
Browse all terms