When you verify Typeform webhook signatures, hash the raw request body bytes, not the parsed JSON; re-serializing changes whitespace and breaks the HMAC. Use the secret shown for that form as the key, base64 the digest, and compare with the header using a constant-time compare.

Context: Stack Overflow #59114066 (accepted answer, 5 votes): the asker's webhook signature checks never matched. The working approach: take the entire received payload as binary, HMAC-SHA256 it with the form's secret token as key, base64-encode, and compare against the signature header.