Updated on October 29, 2026
When a WhatsApp webhook is not working, the cause is almost always in one of three places: the endpoint fails verification or doesn’t return 200, the app isn’t subscribed to the messages field or to the messaging account, or an alternate callback URL (override) is diverting events somewhere else. This checklist walks through those causes in 10 steps, in the order worth testing, with a curl command for each.
How the webhook works in general is covered in our WhatsApp API webhooks guide. This article is about diagnosis: what to check when events simply don’t show up.
Before you start: “not arriving” vs. “arriving and breaking”
Run one quick test before changing any configuration. Meta’s webhooks overview recommends temporarily pointing the webhook at a test endpoint: if that endpoint shows the payloads, the problem is in your endpoint code, not in Meta’s configuration.
Prefer to see it in practice? Watch the step by step in the video below.
Video in Portuguese (with subtitles)
In practice, spin up a minimal server that only logs the request body and returns 200, expose it through a tunnel and register that URL. The ngrok and cloudflared walkthrough is in how to test the WhatsApp webhook locally.
In the commands below, replace vXX.X with the Graph API version you use and $TOKEN with a token that has the WhatsApp permissions.
Step 1: the endpoint answers verification (hub.challenge)
When you save the callback URL, Meta sends a GET with three parameters: hub.mode=subscribe, hub.challenge (a random value) and hub.verify_token (the string you defined). According to the create webhook endpoint docs, your server compares the token with the stored value and, if it matches, returns 200 with the hub.challenge value as the body.
Test it yourself:
curl -i "https://your-domain.com/webhook?hub.mode=subscribe&hub.challenge=1158201444&hub.verify_token=YOUR_VERIFY_TOKEN"
You should get HTTP/1.1 200 and a body that is exactly 1158201444: no quotes, no JSON, no HTML. Typical mistakes: returning {"challenge": "..."}, comparing against the wrong token (from another environment), or a route that only accepts POST.
Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →
Step 2: HTTPS with a valid certificate
Meta requires a valid TLS/SSL certificate that is “correctly configured and installed” and does not support self-signed certificates. An expired certificate or a missing intermediate chain also breaks delivery, even when your browser doesn’t complain.
curl -v https://your-domain.com/webhook 2>&1 | grep -E "SSL|subject|expire|issuer"
openssl s_client -connect your-domain.com:443 -servername your-domain.com </dev/null | grep -E "Verify return code"
Look for Verify return code: 0 (ok). Any other code needs fixing before you move on.
Step 3: the messages field is subscribed in the app
Verifying the URL isn’t enough: you also have to subscribe to webhook fields. Incoming messages and delivery statuses arrive through the messages field. You subscribe under App Dashboard > WhatsApp > Configuration or, for apps created with the “Connect with customers through WhatsApp” use case, under Use cases > Customize > Configuration.
The same screen has a button to send a test payload. If the test arrives but real messages don’t, go to step 4.
Step 4: the app is subscribed to the messaging account (subscribed_apps)
This is the step people forget most. Subscribing to a field in the app defines what you want to receive; subscribing the app to the messaging account (WABA) defines from which account. Check it:
curl -s "https://graph.facebook.com/vXX.X/$WABA_ID/subscribed_apps" \
-H "Authorization: Bearer $TOKEN"
If the data array is empty, the app isn’t subscribed. Subscribe it with:
curl -s -X POST "https://graph.facebook.com/vXX.X/$WABA_ID/subscribed_apps" \
-H "Authorization: Bearer $TOKEN"
The expected response is {"success": true}. Since September 23, 2026, Meta has split the WhatsApp account (the phone number) from the messaging account, which holds templates, billing and webhooks. If the number moved to another account or provider, the subscription must exist on the current messaging account. The new structure is explained in WhatsApp account vs. messaging account.
Step 5: no alternate URL is diverting events
Meta lets you override the callback URL per messaging account and per phone number. According to the webhook overrides docs, the precedence is:
- The phone number’s alternate callback URL;
- The messaging account’s alternate callback URL;
- The app’s default callback URL.
So if someone set an override on the number during a test and forgot about it, events go there, not to the URL in the dashboard. Check all three at once:
curl -s "https://graph.facebook.com/vXX.X/$PHONE_NUMBER_ID?fields=webhook_configuration" \
-H "Authorization: Bearer $TOKEN"
The response includes phone_number (number override), whatsapp_business_account (account override, if any) and application (default URL). To remove the number override:
curl -s -X POST "https://graph.facebook.com/vXX.X/$PHONE_NUMBER_ID" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"webhook_configuration": {"override_callback_uri": ""}}'
At account level, the override shows up as override_callback_uri in GET /$WABA_ID/subscribed_apps, and a POST with no parameters to that endpoint restores delivery to the default URL. Note: template webhooks and account webhooks (account_update, account_review_update, account_alerts) always go to the app’s default URL and can’t be overridden.
Step 6: the app is in Live mode with the right permissions
Meta warns that some webhooks are not sent while the app is in Dev mode. Switch the app to Live. Also check the token permissions: whatsapp_business_messaging for the messages and calls webhooks, whatsapp_business_management for everything else. For partner apps, these permissions need advanced access through App Review before customers can grant them.
The Access Token Debugger shows a token’s permissions in seconds. If your token is temporary, see how to create a permanent system user access token.
Step 7: the endpoint returns 200 fast
Any response other than 200, or a failed delivery, makes Meta retry. The docs don’t publish a response timeout, so the safe rule is: return 200 first, process later in a queue.
curl -s -o /dev/null -w "HTTP %{http_code} in %{time_total}s\n" \
-X POST https://your-domain.com/webhook \
-H "Content-Type: application/json" \
-d '{"object":"whatsapp_business_account","entry":[]}'
If this empty POST takes seconds, the handler is doing heavy work (CRM lookups, AI calls, media downloads) before responding. Move it to a worker. Another common trap: the framework returning 201 or 204 by default. Return an explicit 200.
Step 8: retries and duplicates
When delivery fails, Meta retries immediately and then several more times with decreasing frequency for up to 7 days; after that the notification is dropped. Retries go to every app subscribed to the account and can produce duplicate notifications.
Two practical consequences:
- After fixing an endpoint that was down, expect a wave of old events. That’s not a bug.
- Deduplicate on the message
id(wamid) together with thestatus. The samewamidlegitimately arrives assentand later asdelivered.
Batches can hold up to 1,000 updates and payloads can reach 3 MB, but batching isn’t guaranteed: handle each POST individually and don’t cap the request body at a few KB in your proxy or framework.
Step 9: firewall, WAF and IP allowlists
If your server sits behind a firewall, WAF or CDN, make sure Meta’s requests aren’t being blocked as bot traffic. Meta lets you list its IPs (autonomous system AS32934, via whois or its geofeed) but warns that its IP addresses change periodically and recommends mTLS instead of a fixed allowlist. mTLS is optional and configured per app.
whois -h whois.radb.net -- '-i origin AS32934' | grep ^route | head
Check your WAF logs at the time of your test: geo-blocking, user-agent rules and rate limits are a frequent cause of “it worked yesterday.”
Step 10: signature validation isn’t rejecting valid events
If you validate X-Hub-Signature-256 (and you should), a bug in that check makes your own code reject everything. Meta computes an HMAC-SHA256 of the raw body with your app secret; the header carries a sha256= prefix. The classic slips are validating JSON that your framework already re-serialized, using another app’s secret, or using the access token instead of the secret. To simulate:
BODY='{"object":"whatsapp_business_account","entry":[]}'
SIG=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$APP_SECRET" | sed 's/^.* //')
curl -i -X POST https://your-domain.com/webhook \
-H "Content-Type: application/json" \
-H "X-Hub-Signature-256: sha256=$SIG" \
-d "$BODY"
If this correctly signed POST gets 401 or 403, the bug is in your validation. Full examples are in how to validate the WhatsApp webhook signature.
Summary: symptom and where to look
| Symptom | Most likely step |
|---|---|
| Dashboard won’t save the callback URL | 1 (hub.challenge) and 2 (certificate) |
| Dashboard test payload arrives, real messages don’t | 4 (subscribed_apps), 5 (override), 6 (Live mode) |
| Worked, then stopped after changing provider or account | 4 and 5 |
| Mass of repeated or delayed events | 7 (slow response) and 8 (retries) |
| Arrives on one server but not another | 5 (per-number override) and 9 (firewall) |
| Requests show in logs, but your system ignores them | 10 (signature) |
| Statuses arrive, but the message isn’t delivered | not a webhook issue: see message not delivered |
Once events are flowing, the next step is parsing each payload type, covered in webhook payload examples.
How this works with Vectalk
With Vectalk, the Meta side (app, messaging account subscription and callback URL verification) is handled by the platform: events flow from Meta to Vectalk, which forwards the same payload to every active webhook registered on the instance. You register your URL with POST https://apis.vectalk.com.br/api/webhooks, passing instance_id, url and name, and you can register more than one URL per instance.
On your side of the checklist, steps 2, 7, 8 and 9 still apply: valid HTTPS, 200 within 20 seconds (the limit in the Vectalk webhooks docs), deduplication and an open firewall. In the dashboard, check the URL registered on the instance and use the logs to see whether events are reaching Vectalk. Payloads follow Meta’s documentation, so the same parser works for a direct integration and for Vectalk. To get started, create your account at apps.vectalk.com.br/register. For the big picture, see our official WhatsApp API guide.
Frequently asked questions
Why does Meta’s dashboard say the callback URL couldn’t be validated?
It’s almost always step 1 or 2: the endpoint didn’t return 200 with the raw hub.challenge value, the verify_token doesn’t match, or the certificate is invalid or self-signed. Test with the curl from step 1 before saving again.
The dashboard test arrives but real messages don’t. What’s missing?
Usually the app’s subscription to the messaging account (subscribed_apps), an override on the number or account diverting events, or the app still in Dev mode. Check steps 4, 5 and 6.
How long does Meta keep retrying a failed webhook?
Up to 7 days, with decreasing frequency. After that the notification is dropped. Retries can create duplicates, so deduplicate on wamid plus status.
Can I use different URLs for different phone numbers?
Yes. Meta supports overrides per phone number (webhook_configuration on the phone_number_id) and per messaging account (override_callback_uri on subscribed_apps). The number takes precedence over the account, and the account over the app’s default URL.
Do I need to allowlist Meta’s IPs in my firewall?
You can, but Meta warns that its IPs change from time to time and recommends mTLS. If you use an allowlist, refresh it often from AS32934.
Official sources consulted on October 29, 2026: Webhooks overview, Create a webhook endpoint, Webhook overrides, mTLS for webhooks, Access Token Debugger, Webhooks in the Vectalk docs.
Try the official WhatsApp API today
Create your account, generate a token and send your first message with the quick-start guide. Same payloads and webhooks as Meta's Cloud API.
