Skip to content

WebhookRawBody

WebhookRawBody = string | Uint8Array | ArrayBuffer

Defined in: src/types/webhooks.ts:515

A raw webhook request body: a string, a Uint8Array (which includes Node’s byte buffers) or an ArrayBuffer. Always pass the exact bytes received, never a re-serialized parsed object.

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