How to Configure WhatsApp Webhooks in Meta
This article explains how to subscribe your Meta (WhatsApp) app to the required webhook events using the Webhook URL and Verify token generated by BoldDesk. By completing this configuration, BoldDesk can receive incoming WhatsApp messages and template status updates. It also includes webhook validation steps to help troubleshoot message delivery issues and verify whether webhook events are being successfully sent from Meta to your configured endpoint.
Prerequisites
- A Meta app with WhatsApp already added and configured.
- The Webhook/Callback URL generated in BoldDesk for the WhatsApp integration.
- The Verify token generated in BoldDesk for the WhatsApp integration.
Configuring Webhooks in the Meta Developer Portal
The following are steps to set up Webhooks in Meta.
-
Log in to the Meta developer site.
-
Navigate to the My Apps section and choose the configured application. Next, select WhatsApp and click on Configuration.
-
Click on Edit to confirm the Webhook URL and token provided by BoldDesk. Next, select Manage, located directly beneath the Edit option, to access the Webhook field.
-
Select messages and message_template_status_update, and then click Done to subscribe.
Validating WhatsApp Webhook Delivery
If WhatsApp messages are not reaching BoldDesk, validate whether webhook events are being delivered from Meta before they reach your configured endpoint.
- Configure a temporary webhook endpoint, such as webhook.site.
- Update the WhatsApp webhook callback URL in the Meta Developer Portal to point to the temporary endpoint.
- Send test messages from the affected WhatsApp numbers.
- Verify whether user message webhook events are received at the temporary endpoint.
- If events are received, capture the webhook payload and request headers for further analysis.
- If no user message events are received, the issue likely originates before the events reach BoldDesk, indicating a webhook delivery issue on the Meta side.
While a temporary webhook endpoint is configured, webhook events are routed away from BoldDesk. Incoming WhatsApp messages will not be processed by BoldDesk during this period and may not be recoverable. To minimize the risk of message loss, perform this validation during non-business or low-traffic hours.
Frequently Asked Questions
-
Which values must match between Meta and BoldDesk?
The Webhook/Callback URL and the Verify token configured in Meta must exactly match the values generated by BoldDesk for the WhatsApp integration. -
Where are the WhatsApp webhook settings in Meta?
My Apps > select the app > WhatsApp > Configuration > Webhook. -
Which webhook fields should be subscribed to for BoldDesk?
Subscribe to messages and message_template_status_update. -
Do I need to click both Edit and Manage?
Yes. Edit is used to enter/confirm the Webhook URL and Verify token. Manage is used to select the webhook fields (event subscriptions). -
What does the “messages” webhook field cover?
The messages webhook field subscribes the app to WhatsApp message-related webhook events that Meta delivers to the configured webhook endpoint. -
What does “message_template_status_update” provide?
message_template_status_update delivers webhook events related to WhatsApp message template status updates. -
Why validate using a temporary webhook endpoint?
A temporary endpoint helps confirm whether Meta is delivering webhook events at all. If events arrive at the temporary endpoint, the issue is likely downstream (endpoint handling, routing, or processing). If events do not arrive, the issue likely originates on the Meta delivery side. -
Will BoldDesk process messages while the callback URL points to the temporary endpoint?
No. When the callback URL points elsewhere, BoldDesk will not receive webhook events and cannot process incoming WhatsApp messages during that time.