Skip to content

WebhookSignatureVerifier

WebhookSignatureVerifier = (rawBody, signatureHeader, secrets) => Promise<boolean>

Defined in: src/resources/webhook-handler-core.ts:19

Checks a signature header against the raw body for any of the secrets.

WebhookRawBody

string | undefined

readonly string[]

Promise<boolean>

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.