Skip to main content
Problem: Webhook signature checks fail, or you process unverified POSTs after framework JSON parsing rewrites the body. Solution: Sign generated-at + : + the raw body with HMAC-SHA-256 using your partner secret. Compare the hex digest to X-API-Key with a constant-time compare.
This cookbook assumes you already have your webhook secret key from partner onboarding and a HTTPS callback URL.

Common mistakes

  • Auto-parsing JSON before you read the raw body breaks verification.
  • Do not trim, pretty-print, or re-serialize the body before you sign it.

Other cookbooks

AmbientAPI

Poll Session Status Before Fetching Content

Poll until status is completed.

5 min
AmbientAPI

Fetch Note Content with composition_id

Retrieve the note with composition_id.

5 min
Last modified on July 23, 2026