Coexistence Webhooks
Here you will find information about history webhooks and message echoes for businesses that have been onboarded to both the WhatsApp Business App and the WhatsApp Cloud API simultaneously.
You will receive the following webhooks related to the onboarded numbers:
history
: Provides details about past messages the business customer has sent or received. Destination: history webhook will be sent to the partner's configured webhook URL in the following minutes after the onboarding succeeds.smb_app_state_sync
: Describes the business customer's current and new contacts. Destination: smb_app_state_sync webhook will be sent to the partner's configured webhook URL in the following minutes after the onboarding succeeds.smb_message_echoes
: Describes any new messages the business customer sends with the WhatsApp Business app after onboarding. Destination: smb_message_echoes webhook will be sent to the phone number's webhook URL.
History webhook
The history
webhook is triggered when the business approves or declines sharing of their chat history.
Below you can find example structures for both scenarios.
SMB App State sync webhook
The smb_app_state_sync
webhook provides updates about the business customer's contacts, including future additions or changes.
SMB Message Echoes webhook
The smb_message_echoes
webhook captures new messages sent by the business customer using the WhatsApp Business app after onboarding. This webhook ensures that partners can track and process these messages in real time. This webhook will be sent to the phone number level webhook.
Last updated
Was this helpful?