WhatsApp Business Platform

smb_app_state_sync webhook reference

Updated: Nov 4, 2026
Copy for LLM
This reference describes trigger events and payload contents for the Messaging account smb_app_state_sync webhook.
The smb_app_state_sync webhook is used for synchronizing contacts of WhatsApp Business app users who have been onboarded via a solution provider.

Triggers

  • A partner synchronizes the WhatsApp Business app contacts of a business customer with a WhatsApp Business app phone number who the provider has onboarded.
  • A business customer with a WhatsApp Business app phone number who has been onboarded by a partner adds a contact to their WhatsApp Business app contacts⁠.
  • A business customer with a WhatsApp Business app phone number who has been onboarded by a partner removes a contact from their WhatsApp Business app contacts⁠.
  • A business customer with a WhatsApp Business app phone number who has been onboarded by a partner edits a contact in their WhatsApp Business app contacts⁠.

Syntax

{
  "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>"
            },
            "state_sync": [
              {
                "type": "contact",
                "contact": {
                  "full_name": "<CONTACT_FULL_NAME>",
                  "first_name": "<CONTACT_FIRST_NAME>",
                  "phone_number": "<CONTACT_PHONE_NUMBER>", <!-- omitted if user's phone number is unavailable -->
                  "user_id": "<BSUID>",
                  "parent_user_id": "<PARENT_BSUID>", <!-- only included if parent BSUIDs enabled -->
                  "username": "<USERNAME>" <!-- only included if user has adopted a username -->
                },
                "action": "<ACTION>",
                "metadata": {
                  "timestamp": "<WEBHOOK_TRIGGER_TIMESTAMP>"
                }
              },
              <!-- Additional contacts would follow, if any -->
            ]
          },
          "field": "smb_app_state_sync"
        }
      ]
    }
  ]
}
Use user_id to identify the contact. phone_number is omitted if, at the time of the sync, the user has adopted a username and their phone number is unavailable. See Business-scoped user IDs.

Parameters

Placeholder Description Example value
<ACTION>
String
Indicates if the business customer added, edited, or deleted a contact from their WhatsApp Business app phone address book.
Values can be:
add — Indicates the WhatsApp Business app user added or edited a contact.
remove — Indicates the WhatsApp Business app user removed a contact.
add
<BSUID>
String
The contact’s business-scoped user ID (BSUID).
US.13491208655302741918
<BUSINESS_DISPLAY_PHONE_NUMBER>
String
Business display phone number.
15550783881
<BUSINESS_PHONE_NUMBER_ID>
String
Business phone number ID.
106540352242922
<CONTACT_FIRST_NAME>
String
The contact’s first name, as it appears in the business customer’s WhatsApp Business app phone address book.
Not included when the business customer removes a contact from their WhatsApp Business app phone address book.
Pablo
<CONTACT_FULL_NAME>
String
The contact’s full name, as it appears in the business customer’s WhatsApp Business app phone address book.
Not included when the business customer removes a contact from their WhatsApp Business app phone address book.
Pablo Morales
<CONTACT_PHONE_NUMBER>String
The contact’s WhatsApp phone number. Omitted if the user has adopted a username and their phone number is unavailable.
16505551234
<PARENT_BSUID>
String
The contact’s parent business-scoped user ID. Only included if your business portfolio is enrolled in parent BSUIDs.
US.ENT.11815799212886844830
<USERNAME>
String
The contact’s username. Only included if the user has adopted a username.
realsheenanelson
<WEBHOOK_TRIGGER_TIMESTAMP>
Integer
Unix timestamp indicating when the webhook was triggered.
1739321024
<WHATSAPP_BUSINESS_ACCOUNT_ID>
String
Messaging account ID.
102290129340398

Example

{
  "object": "whatsapp_business_account",
  "entry": [
    {
      "id": "102290129340398",
      "changes": [
        {
          "value": {
            "messaging_product": "whatsapp",
            "metadata": {
              "display_phone_number": "15550783881",
              "phone_number_id": "106540352242922"
            },
            "state_sync": [
              {
                "type": "contact",
                "contact": {
                  "full_name": "Pablo Morales",
                  "first_name": "Pablo",
                  "phone_number": "16505551234",
                  "user_id": "US.13491208655302741918"
                },
                "action": "add",
                "metadata": {
                  "timestamp": "1739321024"
                }
              }
            ]
          },
          "field": "smb_app_state_sync"
        }
      ]
    }
  ]
}