Skip to main content

Security & Verification

Why Verification is Important

Webhook verification ensures that:

  • Events are actually sent by MOUNTAIN
  • Event data hasn't been tampered with
  • Your endpoint isn't being abused by malicious actors

How Verification Works

  1. MOUNTAIN signs each webhook payload with your secret using HMAC-SHA256
  2. The signature is sent in the X-Mountain-Signature header
  3. Your application verifies the signature using the SDK
  4. Only verified events should be processed

Getting Your Webhook Secret

Your webhook secret is provided when you configure webhook settings via the MOUNTAIN API. The secret has the format: mtn_whsec_[base64_encoded_secret]

Next Steps