Category: Meta Ads and advertising

Meta Lead Ads webhook: Callback URL verification does not pass

Read this guide in Polish

Meta does not accept callback URL even though endpoint opens in the browser.

Why is there a problem?

Webhook verification requires response to GET request with challenge parameters. The usual endpoint POST is not enough.

Diagnostics and solutions

1. Check if the URL is public under HTTPS and does not require login or Preview protection.

2 . Verify GET query support with hub.mode, hub.verify token and hub.chalenge parameters.

3 . Compare token on the server side with the token specified in Meta configuration.

4 . Return the required challenge only after correct token verification.

5 . Separately implement POST support, signature validation and safe lead processing.

How to check and avoid what?

Callback URL verification passes, and the test POST event goes to the controlled log without sensitive data.

Do not log full tokens and do not treat the public challenge as an authorization of all POST requests.