VerifiMeVerifiMe Developer Portal
Webhooks

Webhook Setup

Configure your webhook endpoint and verify HMAC signatures

Webhook Configuration

You must provide a publicly accessible HTTPS endpoint to VerifiMe during onboarding.

Requirements:

  • Must be HTTPS (SSL/TLS required)
  • Must be publicly accessible from the internet
  • Must return HTTP 200 within 10 seconds
  • Must handle POST requests

Webhook Security

Every webhook includes an HMAC-SHA256 signature in the request header.

Headers:

HeaderDescription
X-VerifiMe-SignatureHMAC-SHA256 hex digest of request body
X-VerifiMe-VersionWebhook schema version (currently "1")
Content-Typeapplication/json

Verification Process:

  1. Receive raw request body (do not parse JSON yet)
  2. Compute HMAC-SHA256 hash of raw body using your shared secret
  3. Compare computed hash with X-VerifiMe-Signature header
  4. If signatures don't match, return HTTP 401 and stop processing
  5. Only process the webhook if the signature is valid

Always use constant-time comparison when validating signatures to prevent timing attacks.

On this page