Skip to content

WebhookDeliveryResult

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

Outcome of one delivery.

accepted: boolean

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

true once the signature and the envelope are valid.


delivered: number

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

Events passed to their handlers without error.


failed: number

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

Events where at least one handler threw.


httpStatus: 200 | 401 | 413 | 500

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

The HTTP status to answer with.


skippedDuplicates: number

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

Events skipped because the dedupe store had seen them.


skippedStale: number

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

Events skipped because they were older than maxEventAgeSeconds.

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