Webhook signature validation now available
Webflow's Data API now supports webhook signature validation for enhanced security. Webhooks created with an OAuth Application now include additional headers that enable you to verify the authenticity of incoming webhook requests.
What's new
The following headers are now included in webhook payloads:
x-webflow-signature: A signature hash generated using your application's client secret
x-webflow-timestamp: The timestamp when the webhook was sent
These headers enable you to validate that webhook requests are genuinely from Webflow and haven't been tampered with, protecting your integrations from potential security threats.
Why this matters
Validating webhook signatures helps you:
- Prevent unauthorized access to your webhook endpoints
- Ensure data integrity by confirming requests haven't been modified
- Protect against replay attacks by validating request timestamps
How to implement signature validation
Using the Webflow SDK (recommended)
The simplest way to validate webhook signatures is to use the Webflow SDK:
import { WebflowClient } from "webflow-api";
import express from "express";
const webflowClient = new WebflowClient({ accessToken: AUTHTOKEN });
const app = express();
app.use(express.json());
app.post('/webhook', async (req, res) => {
const isValidRequest = await webflowClient.webhooks.verifySignature({
headers: req.headers, …