Managing Webhooks | Developer Documentation
Managing Webhooks
Updated: Dec 12, 2025
WhatsApp Business Accounts (WABAs) and their assets are objects in the Facebook Social Graph. When a trigger event occurs to one of those objects, Facebook sees it and sends a notification to the webhook URL specified in your Facebook App’s dashboard.
In the context of embedded signup, you can use webhooks to get notifications of changes to your WABAs, phone numbers, message templates, and messages sent to your phone numbers.
You must individually subscribe to every WABA for which you wish to receive webhooks. After fetching the client’s WABA ID, subscribe your app to the ID in order to start receiving webhooks.
See Webhooks for more information about webhooks and fields.
Subscribe to webhooks on a business customer WABA
Use the POST /<WABA_ID>/subscribed_apps endpoint to subscribe your app to webhooks on the business customer’s WABA. If you want the customer’s webhooks to be sent to a different callback URL than the one set on your app, you have multiple webhook override options.
Request
curl -X POST 'https://graph.facebook.com/<API_VERSION>/<WABA_ID>/subscribed_apps' \ -H 'Authorization: Bearer <ACCESS_TOKEN>'
Response
Upon success:
{
"success": true
}Repeat this process for any other WABAs for which you wish you receive webhooks notifications. Note that if you subscribe your app to webhooks for multiple WABAs, all webhooks notifications will be sent to the app’s callback URL specified in the Webhooks product panel of the App Dashboard, unless you override webhooks.
Get all subscriptions on a WABA
To get a list of apps subscribed to webhooks for a WABA, send a GET request to the
subscribed_apps endpoint on the WABA:Request Syntax
GET https://graph.facebook.com/<API_VERSION>/<WABA_ID>/subscribed_apps
A successful response includes an array of apps that have subscribed to the WABA, with link, name, and id properties for each app.
Sample Request
curl \
'https://graph.facebook.com/v25.0/102289599326934/subscribed_apps' \
-H 'Authorization: Bearer EAAJi...'
Sample Response
{
"data" : [
{
"whatsapp_business_api_data" : {
"id" : "67084...",
"link" : "https://www.facebook.com/games/?app_id=67084...",
"name" : "Jaspers Market"
}
},
{
"whatsapp_business_api_data" : {
"id" : "52565...",
"link" : "https://www.facebook.com/games/?app_id=52565...",
"name" : "Jaspers Fresh Finds"
}
}
]
}Unsubscribe from a WABA
To unsubscribe your app from webhooks for a WhatsApp Business Account, send a DELETE request to the
subscribed_apps endpoint on the WABA.Request Syntax
DELETE https://graph.facebook.com/<API_VERSION>/<WABA_ID>/subscribed_apps
Sample Request
curl -X DELETE \
'https://graph.facebook.com/v25.0/102289599326934/subscribed_apps' \
-H 'Authorization: Bearer EAAJi...'
Sample Response
{
"success" : true
}Overriding the callback URL
See Webhooks Overrides.
Set up notifications
You can set up webhooks to send you notifications of changes to your subscribed WhatsApp Business Accounts. The types of notifications you can subscribe to are:
Available subscription fields
| Field name | Description |
|---|---|
The account_alerts webhook notifies you of changes to a business phone number’s messaging limit, business profile, and Official Business Account status. | |
The account_review_update webhook notifies you when a WhatsApp Business Account has been reviewed against our policy guidelines. | |
The account_update webhook notifies of changes to a WhatsApp Business Account’s partner-led business verification submission, its authentication-international rate eligibility, or primary business location, when it is shared with a Solution Partner, policy or terms violations, offboarding, reconnection, or when it is deleted. | |
The automatic_events webhook notifies you when we detect a purchase or lead event in a chat thread between you and a WhatsApp user who has messaged you via your Click to WhatsApp ad, if you have opted-in to Automatic Events reporting. | |
The business_capability_update webhook notifies you of WhatsApp Business Account or business portfolio capability changes (messaging limits, phone number limits, etc.). | |
The history webhook is used to synchronize the WhatsApp Business app chat history of a business customer onboarded by a solution provider. | |
The message_template_components_update webhook notifies you of changes to a template’s components. | |
The message_template_quality_update webhook notifies you of changes to a template’s quality score. | |
The message_template_status_update webhook notifies you of changes to the status of an existing template. | |
The messages webhook describes messages sent from a WhatsApp user to a business and the status of messages sent by a business to a WhatsApp user. | |
The partner_solutions webhook describes changes to the status of a Multi-Partner Solution. | |
The payment_configuration_update webhook notifies you of changes to payment configurations for Payments API India and Payments API Brazil. | |
The phone_number_name_update webhook notifies you of business phone number display name verification outcomes. | |
The phone_number_quality_update webhook notifies you of changes to a business phone number’s throughput level. | |
The security webhook notifies you of changes to a business phone number’s security settings. | |
The smb_app_state_sync webhook is used for synchronizing contacts of WhatsApp Business app users who have been onboarded via a solution provider. | |
The smb_message_echoes webhook notifies you of messages sent via the WhatsApp Business app or a companion (“linked”) device by a business customer who has been onboarded to Cloud API via a solution provider. | |
The template_category_update webhook notifies you of changes to template’s category. | |
The user_preferences webhook notifies you of changes to a WhatsApp user’s marketing message preferences. |
Examples
Onboarded business customer
An account_update webhook is triggered with
event set to PARTNER_ADDED when a business customer successfully completes the Embedded Signup flow.Syntax
{
"entry": [
{
"id": "<BUSINESS_PORTFOLIO_ID>",
"time": <WEBHOOK_SENT_TIMESTAMP>,
"changes": [
{
"value": {
"event": "<EVENT>",
"waba_info": {
"waba_id": "<CUSTOMER_WABA_ID>",
"owner_business_id": "<CUSTOMER_BUSINESS_PORTFOLIO_ID>"
}
},
"field": "account_update"
}
]
}
],
"object": "whatsapp_business_account"
}Example
{
"entry": [
{
"id": "35602282435505",
"time": 1731617831,
"changes": [
{
"value": {
"event": "PARTNER_ADDED",
"waba_info": {
"waba_id": "495709166956424",
"owner_business_id": "942647313864044"
}
},
"field": "account_update"
}
]
}
],
"object": "whatsapp_business_account"
}Phone Number Updates
Name Update Received
{
"object": "whatsapp_business_account",
"entry": [
{
"id": "495709166956424",
"time": 1731617831,
"changes": [
{
"field": "phone_number_name_update",
"value": {
"display_phone_number": "124545784358810",
"decision": "APPROVED",
"requested_verified_name": "WhatsApp",
"rejection_reason": null
}
}
]
}
]
}Quality Update Received
{
"object": "whatsapp_business_account",
"entry": [
{
"id": "495709166956424",
"time": 1731617831,
"changes": [
{
"field": "phone_number_quality_update",
"value": {
"display_phone_number": "124545784358810",
"event": "FLAGGED",
"current_limit": "TIER_10K"
}
}
]
}
]
}WABA Updates
Sandbox number upgraded to Verified Account
{
"object": "whatsapp_business_account",
"entry": [
{
"id": "495709166956424",
"time": 1731617831,
"changes": [
{
"field": "account_update",
"value": {
"phone_number": "124545784358810",
"event": "VERIFIED_ACCOUNT"
}
}
]
}
]
}WhatsApp Business Account Banned
{
"object": "whatsapp_business_account",
"entry": [
{
"id": "495709166956424",
"time": 1731617831,
"changes": [
{
"field": "account_update",
"value": {
"event": "DISABLED_UPDATE"
"ban_info": {
"waba_ban_state": ["SCHEDULE_FOR_DISABLE", "DISABLE", "REINSTATE"],
"waba_ban_date": "DATE"
}
}
}
]
}
]
}WhatsApp Business Account Review Completed
{
"object": "whatsapp_business_account",
"entry": [
{
"id": "495709166956424",
"time": 1731617831,
"changes": [
{
"field": "account_review_update",
"value": {
"decision": "APPROVED"
}
}
]
}
]
}Message template updates
Approved
{
"entry": [
{
"id": "495709166956424",
"time": 1731617831,
"changes": [
{
"value": {
"event": "APPROVED",
"message_template_id": 64244916695,
"message_template_name": "Summer 20 Template",
"message_template_language": "en_US",
"reason": "NONE"
},
"field": "message_template_status_update"
}
]
}
],
"object": "whatsapp_business_account"
}
No comments to display
No comments to display