Skip to content
Go to app
Signpost for Astro Get the theme →

Verify webhook signatures

Confirm that a webhook really comes from Meetlane and hasn't been replayed.

Advanced · 5 min read · Updated Oct 6, 2026

Every webhook request includes a Meetlane-Signature header. It contains a timestamp and an HMAC-SHA256 signature of the payload, computed with your endpoint’s signing secret.

Meetlane-Signature: t=1792571422,v1=5f2b7c0e9a4d61c2b8e1f0a3d7c95e48a21b6f3c0d9e8a7b6c5d4e3f2a1b0c9d

Open the endpoint under Settings → Developers → Webhooks. The secret starts with whsec_. Each endpoint has its own secret.

The SDKs verify the signature and the timestamp in one call:

import os
import meetlane
def handle(request):
event = meetlane.Webhook.construct_event(
payload=request.body,
signature=request.headers["Meetlane-Signature"],
secret=os.environ["MEETLANE_WEBHOOK_SECRET"],
)
print(event.type) # "booking.created"
  1. Split the header on , to get t (timestamp) and v1 (signature).
  2. Build the signed string: the timestamp, a full stop and the raw request body, "{t}.{body}".
  3. Compute HMAC-SHA256 of that string with your signing secret.
  4. Compare it to v1 with a constant-time comparison.
  5. Reject the request if t is more than 5 minutes old.