createWebhookHandler
createWebhookHandler(
options?):WebhookHandlerApi
Defined in: src/resources/webhook-handler.ts:16
Creates an event-driven webhook handler that verifies X-Hub-Signature-256
with node:crypto. Register handlers with on, then call handleRequest
(fetch-style frameworks) or handleDelivery (raw body plus header).
Parameters
Section titled “Parameters”options?
Section titled “options?”CreateWebhookHandlerOptions = {}
Returns
Section titled “Returns”Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.