The webhook configuration between WhatsApp and Meta is used to receive real-time updates from Meta (Facebook) when specific events occur. This is especially useful for developers building apps that need to listen and respond automatically to events, such as:
A new message received in Messenger.
A new comment on a Facebook Page.
A change in user profile data.
An update of template approval or rejection.
Prerequisites:
A business manager with a linked WhatsApp Business Account.
A Meta Developer account.
A Meta business type app that has been added to your Business Manager.
An access token.
App Review, if you want to use webhooks with real user data
Steps to configure the webhook in Meta Developer
From Meta for Developers, click My Apps > Create App.
Select a product (e.g., WhatsApp API Setup). Click Set Up.
Go to the Webhooks section.
Under the selected product, choose Webhooks.
Click Edit to open the Edit webhook's callback URL pop-up. Enter in the Callback URL, then type in GFT for the Verify token from the Alert portal on the webhook configuration page.
URL: https://gftalerts.zoho.in/SMS-Gateway/callback-status/facebook
Subscribe to the test services listed on the webhook configuration page by clicking Subscribe.
FAQ
Why is HTTPS mandatory for the Callback URL?
Meta requires a secure (HTTPS) endpoint to ensure safe and encrypted communication between systems.
What happens if the webhook is not configured?
Your system will not receive real-time updates, and automation features such as auto-replies or alerts will not function. Additionally, you will not receive any updates on whether the template has been approved or rejected.