whatsapp_business_account webhook topic. The webhook payload is on the messages field and is delivered as below:{ "object": "whatsapp_business_account", "entry": [ { "id": "<WHATSAPP_BUSINESS_ACCOUNT_ID>", "changes": [ { "value": { "messaging_product": "whatsapp", "metadata": { "display_phone_number": "<BUSINESS_DISPLAY_PHONE_NUMBER>", "phone_number_id": "<BUSINESS_PHONE_NUMBER_ID>" }, "user_actions": [ { "action_type": "marketing_messages_link_click", "timestamp": "<time_of_click>", "marketing_messages_link_click_data": { "click_component": "cta" | "body", "product_id": "sku_id", "click_id": "click_id", "tracking_token": "example_token" } } ] }, "field": "messages" } ] } ] }
| Field Name | Field Type | Field Description |
|---|---|---|
action_type | Required
String | Name of the action |
timestamp | Required
Unix timestamp | Timestamp of when the event happened |
click_component | Optional
Enum | The click action
Can either be cta or body |
click_id | Optional
String | The unique identifier for the click. Is also appended to the original url when the user visits the url. |
tracking_token | Optional
String | Internal Meta token for processing and tracking |
product_id | Optional
String | ID of the product, if it was assigned in Ads Manager or Marketing API. |