A number can run on the WhatsApp Business app and the Cloud API at once. A Solution Partner or Tech Provider sets it up through Embedded Signup. Meta’s page calls this onboarding WhatsApp Business app users, and its support channels call it coexistence. Messages are mirrored both ways, the last 6 months of one-to-one chats can be synced, and the number gets a fixed 20 messages per second (throughput). Several app features stop working on the Cloud API side (Onboard WhatsApp Business app users, accessed 2026-11-02).
Coexistence runs on Meta’s official API. It is a partner onboarding flow, separate from the QR connection that the QR connection vs Meta’s official API comparison describes.
Who can set up coexistence
Meta lists the requirements for the partner and the customer. The customer needs WhatsApp Business app version 2.24.17 or higher. You must already be a Solution Partner or Tech Provider, know the Cloud API, be able to process webhooks, and run Embedded Signup with session logging. For direct users with a Business app number, Meta’s page on existing numbers names one path that keeps the app: “a partner who supports business app number onboarding” (Migrate an existing WhatsApp number, accessed 2026-11-16). The options are in WhatsApp coexistence without a BSP.
Meta now calls the WhatsApp Business Account (WABA) a “Messaging account”, and existing WABA IDs carry over with the same value (account model evolution, accessed 2026-11-02). Webhook payloads still say waba_id.
What the customer keeps and what syncs
Meta’s page says “Messages sent and received are mirrored between the Cloud API and WhatsApp Business app.” Your customer keeps answering from the phone while your backend sends through the API.
Two syncs are available, and each call can be made only once. The contact sync sends the customer’s contacts that have a WhatsApp number. The history sync sends one-to-one chats from the last 6 months, in three phases (day 0 to 1, day 1 to 90, day 90 to 180). Group chats are not synced. Meta also sets a deadline: “you have 24 hours to synchronize their messaging history”. Miss it and the customer has to offboard and run the flow again. If the customer declines to share history, you get a history webhook with error 2593109.
Billing follows the channel that sent the message. Messages sent from the Business app stay free. Messages sent through the Cloud API follow Cloud API pricing. The 24-hour customer service window applies only to Cloud API messages. Replies your customer sends from the phone don’t open or extend it, so error 131047 and the template rules still apply to your sends.
Throughput on a coexistence number
Meta’s throughput page sets a lower ceiling. “Business phone numbers that are in use with both the WhatsApp Business app and Cloud API have a fixed throughput of 20 mps” (Meta throughput page, accessed 2026-11-02). A Cloud API number starts at up to 80 mps and can be upgraded automatically to 1,000. A coexistence number stays at 20, so size your sender for it. The throughput and pair rate guide has a queue you can set to that rate.
Features the Cloud API loses on these numbers
Meta lists what doesn’t work through the Cloud API on a coexistence number. Group chats, disappearing messages, view once, live location, and voice and video calls are out. Broadcast lists are disabled, and existing ones become read-only. Business tools (catalog, orders, status) and messaging tools (marketing messages, greeting and away messages, quick replies, labels) are unsupported, along with business profile settings and Channels. Message edit and revoke are supported.
Onboarding unlinks the customer’s companion devices. WhatsApp for Windows and WearOS are not supported. Tell the customer before they start.
Run the onboarding
The flow uses Embedded Signup with a feature type that switches it to app onboarding. The customer enters their Business app number, receives a verification code and follows the prompts in the app. Meta doesn’t describe the screens further. The general flow is in the Embedded Signup guide.
- Launch Embedded Signup with
featureTypeset towhatsapp_business_app_onboarding. - Wait for the session event
FINISH_WHATSAPP_BUSINESS_APP_ONBOARDING. On v4 it carriesdata.waba_id; on v5,data.messaging_account_ids(same IDs) andis_on_biz_app: true. - Exchange the code for a business token. Skip registration, since Meta says “the number is already registered”.
- Subscribe your app to
account_update,history,smb_app_state_syncandsmb_message_echoes. - Sync contacts first, then history, within 24 hours.
Meta’s page gives the options object on its own. Here it’s wrapped in the FB.login call from the standard Embedded Signup launch:
FB.login(fbLoginCallback, {
"config_id": "<CONFIGURATION_ID>",
"response_type": "code",
"override_default_response_type": true,
"extras": {
setup: {},
"featureType": "whatsapp_business_app_onboarding"
}
});
That block is for Embedded Signup v4, which also serves requests with no version. On v5, app onboarding is on by default and featureType isn’t needed. Meta’s coexistence page still shows sessionInfoVersion, but its versions page says v5 doesn’t take it. Coexistence onboarding errors has the version table.
The contact sync goes to the smb_app_data edge of the phone number:
curl -X POST \
'https://graph.facebook.com/<API_VERSION>/<BUSINESS_PHONE_NUMBER_ID>/smb_app_data' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '
{
"messaging_product": "whatsapp",
"sync_type": "smb_app_state_sync"
}'
The history sync is the same call with "sync_type": "history". Both return {"messaging_product": "whatsapp", "request_id": "<REQUEST_ID>"}. Store the request_id, since Meta support asks for it.
To confirm the state of a number, call GET /<PHONE_NUMBER_ID>?fields=is_on_biz_app,platform_type. Meta’s example response is {"is_on_biz_app": true, "platform_type": "CLOUD_API", "id": "106540352242922"}.
How app messages and synced data reach your webhook
Messages your customer sends from the phone arrive in the smb_message_echoes field, in an array named message_echoes. A handler that only reads value.messages drops them, and your CRM shows half the conversation. This is Meta’s sample:
{
"object": "whatsapp_business_account",
"entry": [
{
"id": "102290129340398",
"changes": [
{
"value": {
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "15550783881",
"phone_number_id": "106540352242922"
},
"message_echoes": [
{
"from": "15550783881",
"to": "16505551234",
"id": "wamid.HBgLMTY0NjcwNDM1OTUVAgARGBIyNDlBOEI5QUQ4NDc0N0FCNjMA",
"timestamp": "1700255121",
"type": "text",
"text": {
"body": "Here's the info you requested! https://www.meta.com/quest/quest-3/"
}
}
]
},
"field": "smb_message_echoes"
}
]
}
]
}
In an echo, from is the business number and to is the user, the reverse of an inbound message. Store echoes as outbound messages sent from the app. Meta doesn’t document how edits and revokes appear in echoes, so log unknown types instead of failing on them.
History arrives in chunks. Each history[].metadata has phase, chunk_order and progress, where 100 means done. threads[].id is the contact, each message carries history_context.status (read, delivered, played), and media arrives as "type": "media_placeholder" without the file. Contact changes come in smb_app_state_sync as state_sync[] items with type: "contact", the contact’s names and phone number, and an action of add or remove.
Offboarding and reconnection
You can’t deregister a coexistence number through the API. Meta’s page says “You cannot use the Deregister API on a number that is in use with both Cloud API and the WhatsApp Business app”. The customer disconnects in the app under Settings > Account > Business Platform > Disconnect Account. You then receive an account_update webhook with event set to PARTNER_REMOVED and a disconnection_info object (account_update reference, accessed 2026-11-02):
{
"object": "whatsapp_business_account",
"entry": [
{
"id": "2949482758682047",
"time": 1739212624,
"changes": [
{
"value": {
"event": "PARTNER_REMOVED",
"waba_info": {
"waba_id": "102290129340398",
"owner_business_id": "2329417887457253"
},
"disconnection_info": {
"reason": "PRIMARY_INACTIVITY",
"initiated_by": "SYSTEM"
}
},
"field": "account_update"
}
]
}
]
}
initiated_by is USER or SYSTEM. The reason tells you whether to contact the customer:
reason |
What Meta says happened |
|---|---|
ACCOUNT_DISCONNECTED |
Enforcement, or the client deleted the account |
BUSINESS_DOWNGRADE |
The number was registered on consumer WhatsApp |
CHANGE_NUMBER |
Reason code for a number change |
COMPANION_INACTIVITY |
The companion was inactive for about 30 days |
PRIMARY_INACTIVITY |
The “primary device inactive for approximately 14 days” |
USER_RE_REGISTERED |
Reason code for a re-registration |
A device change or re-registration also sends ACCOUNT_OFFBOARDED. Pause pending sends for that number when it arrives. Re-onboarding runs automatically after an opt-in that comes pre-checked, “typically completes within a few minutes”, and ends with ACCOUNT_RECONNECTED. If another partner sets up coexistence for the same account in that window, your client can no longer be re-onboarded (Reconnect offboarded coexistence clients, accessed 2026-11-02).
Chat history is “Not synced during reonboarding”, and “Other companion devices (such as WhatsApp Web) must be manually re-linked by your client” (Reconnect offboarded coexistence clients, accessed 2026-11-23). Coexistence disconnected: read the reason and reconnect walks through the reconnect.
The alternative: move the number to the Cloud API only
If the customer doesn’t need the app, the number can leave it. “To use an existing WhatsApp phone number with Cloud API, you must first delete your WhatsApp account.” When the number registers again, “your existing messaging history will be lost” (Use an existing WhatsApp number, accessed 2026-11-02). Meta adds that “It may take up to 3 minutes for the disconnected number to become available.” The coexistence limits above stop applying, and the customer gives up the chat history and the phone app.
Z-API Omni team