How WhatsApp coexistence works under the hood

What Meta does when a WhatsApp Business app number is authorised on the Cloud API: what syncs, what is mirrored, and what the Hub does not use.

Coexistence is usually explained in one sentence: the number stays in the app and on the API at once. Anyone integrating needs more than that: which data Meta syncs, in what order events arrive, what your system sees and what stays on the phone only. This article describes the mechanism as Meta's documentation presents it and marks what CRPRO Hub does or does not do.

What is the coexistence mechanism

Coexistence authorises, on the Cloud API, a number already registered in the WhatsApp Business app, without taking it out of there. Instead of registering the number as in a dedicated connection, Embedded Signup converts the app's account into a messaging account shared with the provider, and messages are mirrored between the app and the API.

That is why the number registration step is skipped. The provider receives an authorisation code, exchanges it for a customer token and subscribes to the account's webhooks. The product overview is in WhatsApp Coexistence.

What Meta syncs

Meta syncs three things: contacts with a WhatsApp number, the history of one-to-one chats, and from then on the new messages of one-to-one chats. Groups are left out, and sharing the history depends on the business's consent.

DataSynced?Meta's note
ContactsYesAll contacts with a WhatsApp number
One-to-one historyYes, with consentUp to 180 days before onboarding, in phases
GroupsNoOutside the sync
New 1:1 messagesYes, mirroredApp and API see the same conversation
History mediaPartialMedia IDs only for messages from the previous 14 days

The contacts and history sync can only be requested once per onboarding, within 24 hours of it. After that, the way forward is to offboard the business and repeat the flow.

CRPRO Hub does not import coexistence history and does not use the Groups API. If your product needs old history inside your system, that is a limit of the Hub, not of Meta.

What your system receives afterwards

After onboarding your system receives the normal Cloud API events plus one more: the echo of messages the customer sends from the app. That echo is what lets you show the whole conversation in your own panel, including what was answered on the phone.

  • Incoming messages from the end customer, as on any Cloud API number.
  • Delivery and read status of messages sent through the API.
  • Echo of messages sent from the app or from a compatible companion device.
  • Account lifecycle events, such as partner removed or account reconnected.

Signature and redelivery details are in Hub webhooks, and the echo case is covered in coexistence webhooks.

How the service window and billing work

Messages sent from the app remain free and do not create or extend the API's service window. Messages sent through the Cloud API follow the API price list, and the 24-hour window only opens when a user writes to the business after onboarding.

In practice this shapes your flows: a conversation the customer started before onboarding does not give you an open window on the API. To reach that contact over the API, the first send is a template. Per-message cost is in pricing, separate from the Hub subscription.

Checklist to validate a fresh coexistence setup

A coexistence setup is validated when you can prove, with real events, that both sides see the same conversation. Use the list below as an acceptance script.

  • 1. The channel shows as active and the number still opens normally in the customer's app.
  • 2. A template sent through the API reaches the test contact.
  • 3. The contact's reply appears in the app and as a webhook event.
  • 4. A message typed in the app produces the echo event on your endpoint.
  • 5. The webhook signature is validated and repeated events are ignored by id.
  • 6. The customer knows to open the app periodically so the link does not drop.

What coexistence does not do

Coexistence does not turn the app into a full API interface. Per Meta, groups, voice and video calls, catalog, orders, status, channels, the business profile and the app's messaging tools such as greeting, away messages, quick replies and labels are unsupported. Existing broadcast lists become read-only.

There are also device limits: up to four linked devices are allowed, and WhatsApp for Windows and WearOS are not compatible. The practical effects are in limits of coexistence.

In what order events arrive

Sync events do not arrive in guaranteed order, and your code should tolerate that. Meta explains that for history, each chunk carries the phase, a sequence order and a progress from 0 to 100, precisely because delivery can come out of order.

The logic is a general lesson for coexistence: never assume the next event arrives after the previous one. Use the timestamp and the id to order, deduplicate repeats and leave heavy processing to an asynchronous queue. Sync webhooks can be large, and Meta recommends capturing them first and processing them afterwards.

Since the Hub does not import history, this care applies more to the echo of new messages and to account events. Even so, designing consumption as if order were not guaranteed avoids the kind of bug that only shows up in production at peak time.

Practical summary for integrators

In one sentence: coexistence keeps the number in the app, mirrors one-to-one conversations to the API and hands your system message, echo and account events. What the Hub delivers is the flow of new messages; old history and groups stay out.

If you design your product around that flow, with deduplication, signature validation and an explicit field for message origin, the coexistence setup behaves like any other Cloud API channel, plus one extra stream of events to handle.

Frequently asked questions

Does coexistence require the app to stay on the phone?

Yes. The number stays registered in the WhatsApp Business app and the link depends on it. Uninstalling the app or leaving the primary device inactive for about 14 days disconnects the account, per Meta.

Why does old history not show in my system?

Because the Hub does not import coexistence history. Meta offers the sync, but it is not used here, so earlier conversations stay in the app only.

Do app messages show up on the API?

Yes, as echo events. Your system sees what the customer typed on the phone, without those messages opening the API service window.

Can I use coexistence for bulk sending?

The send rate is fixed at 20 messages per second, which caps volume. For large sends, a dedicated connection is the better fit.

Fontes

Documentação oficial da Meta, conferida em 31 de outubro de 2026.