How to leave an unofficial WhatsApp API

A plan to leave a QR-code integration for the official API without stopping operations: inventory, path choice, templates, cutover and shutdown.

Leaving an unofficial integration rarely fails because of the API itself. It fails because nobody knows how many numbers exist, who operates them, which flows depend on quirks of the old tool and what the end customer will notice. This article proposes a phased, customer-by-customer plan that lowers the risk of interrupting an operation that is already live.

Why leave an unofficial integration

The central reason is a rule, not a preference: Meta's documentation says use of the platform must follow its terms and policies and that unauthorised third-party tools are prohibited. QR-code integrations operate outside that perimeter, and the number exposed to risk is your customer's.

There is also the operating cost, which looks like this: a session that drops and must be scanned again, unpredictable maintenance and no contract to fall back on. For an agency, the sum usually weighs more than Meta's per-message rate.

What to survey before touching any number

Before migrating, survey what exists: numbers, owners, flows, integrations and volume. Without it, cutover becomes guesswork, and the error tends to show up on a Monday morning.

  • A list of numbers, with the customer who owns each and who holds the phone.
  • For each number, whether the WhatsApp Business app is still installed on the phone.
  • Flows that depend on the old tool: chatbots, automations, scheduled sends.
  • Outbound messages that today go out without a template and will need an approved one.
  • Average and peak daily message volume per number.
  • Systems that consume the current tool's webhooks and must switch format.

Which path to choose for each number

If the number is still in the WhatsApp Business app, the path is coexistence, which does not require changing numbers. If the number only exists in the old tool and there is no app, Meta requires a number already used on WhatsApp to be deleted from that account before it is registered from scratch, which affects history.

Number's situationPathWatch out for
App still on the phoneCoexistenceApp updated and opened regularly
Only in the old tool, no appDedicated connectionNumber must be deleted from WhatsApp before registration
Banned numberAppeal before any registrationMeta requires recovering the number first
New number for the APIDedicated connectionNo history to keep

The limits of each path are in limits of coexistence. Decide per number, not for the whole portfolio.

A phased migration plan

The plan works in six phases, and the rule is to move to the next only when the previous one has been validated with a pilot customer.

  • 1. Pilot: pick a low-risk customer with simple support and migrate them first.
  • 2. Templates: create and submit for approval the templates for outbound flows before cutover.
  • 3. Webhooks: point the new endpoint, validate the signature and handle repeated events by id.
  • 4. Cutover: authorise the number through the connection link in a low-traffic window.
  • 5. Short parallel run: keep the old tool switched off for sending but preserved, until receiving and echo are validated.
  • 6. Shutdown: only end the old tool after a week with no incidents.

How to authorise the number is covered in the quick start. For the product side of keeping the number on the phone, see WhatsApp Coexistence.

What the end customer will notice

The end customer should notice almost nothing, and what they do notice is the service window rule: outside 24 hours after their last message, only an approved template gets through. Free-form messages to someone who has not written recently stop going out.

For your team the change is bigger: the QR-code session ends, template quality ratings appear and portfolio message limits come in. Meta's per-message billing moves to the customer's account. The cost effect is in pricing.

Common mistakes when leaving

The most common mistakes are switching the old tool off before validating the echo, forgetting templates and migrating the whole portfolio on the same day. All are avoidable with the plan above.

  • Deleting the number from the old tool before authorising the new channel.
  • Forgetting that the app must stay installed under coexistence.
  • Migrating a customer without telling the team that answers from the phone.
  • Not defining who receives the alert when the link drops.

How to explain the change to the customer

Explain the change in three sentences: the number stays the same, phone-based support continues, and what changes is how your system connects. Avoid technical jargon, because the customer's real question is whether they will lose something.

Be honest about what does change: disabled app features, the template rule outside the window and the need to open the app now and then. A warned customer accepts a restriction; a surprised customer remembers it for months.

How to know the exit worked

The exit worked when, for a week, no customer complained of a lost message, disconnection events were zero or explainable and templates stayed approved. Define those criteria before you start, so you do not decide under pressure.

Keep the old tool's data export until that week passes. If a customer disputes a conversation, you will want the record, and the old tool is usually where it lives.

What records to keep after leaving

Keep a dated record of each number: which path it took, who authorised it, when the old tool was switched off and which templates were approved. If a customer or auditor asks months later how the number reached the official API, that record answers in one minute.

Frequently asked questions

Can I keep the same number when leaving the unofficial integration?

Yes, in the most common case. If the WhatsApp Business app is still on the customer's phone, coexistence authorises the same number on the Cloud API. If the number only exists in the old tool, a dedicated connection requires deleting the number from WhatsApp before registering it.

Do I lose chat history when migrating?

Under coexistence, conversations stay in the customer's app. The Hub does not import history into the system. Under a dedicated connection, history does not migrate.

Do I need to create templates before migrating?

Yes, for the messages you start outside the service window. Templates need approval, so do it before cutover day.

Can I migrate gradually?

Yes, and it is the recommended way. Each number is authorised independently, so you can migrate one customer, validate and move on to the next.

Fontes

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