Facebook/Messenger Webhook Verification

View as Markdown

Handles the Meta webhook verification handshake, echoing hub.challenge when hub.verify_token matches the channel’s configured token.

Path parameters

idstringRequired
The channel id

Query parameters

hub.modeenumRequired
Allowed values:
hub.verify_tokenstringRequired
hub.challengestringOptional

Response

Verification succeeded; echoes the challenge

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error