verifyWebhookQuery
verifyWebhookQuery(
query,expectedToken):WebhookVerificationResult
Defined in: src/resources/webhooks.ts:99
Convenience wrapper around verifyWebhook accepting a raw query map
with the literal hub.mode, hub.verify_token, and hub.challenge keys as
delivered on the verification request.
Parameters
Section titled “Parameters”Record<string, string | undefined>
Raw query parameters keyed by their hub.* names.
expectedToken
Section titled “expectedToken”string
The verify token configured for this endpoint.
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.