whatsapp-mcp / webhook/meta / webhookVerifyHandler
Variable: webhookVerifyHandler
const webhookVerifyHandler: RequestHandler;Defined in: src/webhook/meta.ts:46
GET /webhook/meta — Meta’s verification handshake.
Remarks
Meta sends hub.mode=subscribe, hub.verify_token=<our-token>, and
hub.challenge=<random>. We echo the challenge only when the token matches.
Otherwise return 404 so an enumeration scan can’t distinguish a real
webhook endpoint from anything else.