Facebook Messenger Webhook Setup
August 24, 2026
Messenger delivers events to a single app-level callback URL. Configure it once in the Meta App Dashboard; each connected Page is then subscribed programmatically by this integration.
App-level configuration (once per Meta App)
- In the Meta App Dashboard, add the Messenger product.
- Under Messenger → Settings → Webhooks (or App → Webhooks, object Page), set:
- Callback URL:
https://api.unified.to/webhook/workspace/facebookmessenger?workspace_id=<workspace_id> - Verify Token: any non-empty string. The integration echoes
hub.challenge; token equality is not enforced.
- Callback URL:
- Subscribe the Page object to these fields:
messages,messaging_postbacks,message_reactions. - Ensure the connection's OAuth scopes include
pages_messaging,pages_manage_metadata, andpages_read_engagement.
Routing
messages(non-echo) →messaging_message(created) andmessaging_event(MESSAGE_RECEIVED)messaging_postbacks/ quick replies →messaging_event(BUTTON_CLICK)message_reactions→messaging_event(REACTION_ADDED / REACTION_REMOVED)