← Blog

·

Z-API alternative: when to move to the official WhatsApp Business API

Updated on November 4, 2026

If you’re looking for a Z-API alternative, the real question is whether to swap a QR code connection, which works like WhatsApp Web, for the WhatsApp Cloud API, Meta’s official API. The switch makes sense when your use case depends on a stable number, on business-initiated messages at volume or on staying within Meta’s terms. It comes with adjustments: approved templates, per-message pricing and fewer group features. This guide compares both models using what each side publishes and shows how to migrate.

What Z-API is, according to its own documentation

The description below uses only what Z-API publishes in its official documentation (in Portuguese, checked on November 4, 2026):

  • It is a REST service that lets you interact with the messaging app through an API, with webhooks for events on your number.
  • You connect by scanning a QR code or entering a phone code, “just like in the web app”, per the QR code page. The docs note the QR code expires every 20 seconds.
  • The Z-API vs official API page says solutions in this market “as a rule” work on top of the web app protocol, and that Z-API was built in 2019. The same page highlights that it is a Brazilian solution billed in Brazilian reais.
  • The docs list sending text, media, buttons, location and catalog messages, plus groups, communities, contacts and status.
  • The introduction says the service is not meant for spam or for anything that violates the app’s terms of service.
  • There are pages dedicated to blocks and bans, such as Blocks and Bans (2026), which discuss risk factors and a restriction they call a shadowban.

The company website currently presents a product called Z-API Omni as a multichannel API. This article covers the WhatsApp connection described in the documentation.

Official vs unofficial: how the models differ

The core difference isn’t software quality, it’s the model. The Cloud API is the official WhatsApp API, run by Meta and tied to your business portfolio; a QR code connection works as a linked device, the same way WhatsApp Web does. The full comparison is in official vs unofficial WhatsApp API. In short:

CriterionQR code connection (WhatsApp Web model)Meta’s official Cloud API
Who runs itThe provider, connected as a linked deviceMeta, accessed through the Graph API
Meta’s termsWhatsApp’s Terms of Service prohibit unauthorized automated access and bulk or auto-messagingUse intended by Meta, under the Business Messaging Policy
Ban riskThe number can be restricted or banned; the provider itself documents the topicQuality controls and limits, with published rules
First message to a customerFree-form messageMeta-approved template
Free-form messagesAny timeOnly inside the 24-hour window after the customer’s message
Message costSet by the providerMeta’s rate per delivered message, by country and category
GroupsListed in the provider’s docsGroups API with requirements and a participant limit
Official business account badge, Flows, payments, callingNot applicableAvailable, subject to each feature’s requirements

Meta’s terms and ban risk

WhatsApp’s Terms of Service say users must not access or use the services through automated means in unauthorized ways, or send communications such as bulk messaging, auto-messaging and auto-dialing. WhatsApp’s Help Center article About unofficial apps says connecting your account to unofficial apps violates the terms and that the account may be banned temporarily or permanently.

In practice, ban risk is the most common reason to migrate. For a business that sells through its number, a block can halt operations for days, and a replacement number starts with no history.

Templates and the 24-hour window

On the Cloud API, you can send free-form messages only inside the customer service window, which opens or resets every time the customer writes. Outside it, the business uses Meta-approved templates in the marketing, utility or authentication categories. That changes product design: order notices, reminders and campaigns need ready templates before launch. See WhatsApp API message templates.

Per-message cost

On the Cloud API, Meta charges per delivered message, priced by country and category, per its pricing page. For Brazilian numbers, since October 1, 2026: marketing BRL 0.3217; utility, authentication and service BRL 0.0350. Service messages (replies inside the window) have a free tier of 1,000 per number per month, with charges starting at the 1,001st. Add the provider’s fee, if any. Provider fees vs Meta fees explains how to read that bill.

Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →

When migrating makes sense

Signs it’s time:

  • Your number has already been restricted or banned, or your operation can’t afford that risk.
  • You send transactional notices (orders, billing, appointments) and need predictable delivery.
  • Enterprise customers ask for compliance with Meta’s terms.
  • You want features that only exist on the official API: the official business account badge, WhatsApp Flows, Click-to-WhatsApp ads with attribution, payments or calling through the API.

When it may not make sense yet:

  • Your use case depends on large groups or communities. Meta’s Groups API exists, but it has its own requirements and limits.
  • Your flow depends on sending free-form messages at any time, without templates. On the official API, that needs a redesign.

How to migrate, step by step

The general roadmap is in migrate to the official WhatsApp API. If you’re coming from a QR code based API, these are the practical steps.

1. Decide what happens to the number

There are two paths:

  • Coexistence: the number stays on the WhatsApp Business app and also works on the Cloud API. Per Meta’s documentation, the app must be version 2.24.17 or later, linked devices are unlinked during onboarding and can be relinked (except WhatsApp for Windows and WearOS), and the last 6 months of chat history can be synced. Group chats are not synced, and existing broadcast lists become read-only. Throughput is fixed at 20 messages per second.
  • API-only number: the number leaves the app and lives only on the Cloud API. The steps are in using an existing WhatsApp number with the Business API.

If the number was on personal WhatsApp (not WhatsApp Business), coexistence isn’t the path: Meta’s onboarding documentation covers WhatsApp Business app users.

2. Map the endpoints

Z-API uses its own routes with instanceId and token in the URL. On the Cloud API, every send goes to a single messages endpoint, and the type is set in the body.

On Z-API (per its docs)On the Cloud API
POST .../send-text with phone and messagePOST /messages with type: "text"
POST .../send-imagetype: "image" with a media link or id
POST .../send-document/{extension}type: "document"
POST .../send-button-listtype: "interactive" with button
Free-form message to someone who hasn’t written to youtype: "template" with an approved template
“On receive” and “on send” webhooksMeta’s messages and statuses webhooks

A text message on the Cloud API:

{
  "messaging_product": "whatsapp",
  "to": "5511999999999",
  "type": "text",
  "text": { "body": "Your order 1234 is out for delivery." }
}

If that notice goes out when the customer hasn’t written in the last 24 hours, it must become a utility template.

3. Create templates before the cutover

List every message your application sends on its own initiative (notices, reminders, campaigns) and turn each one into a template. Submit them early: approval depends on Meta’s review. Separate utility from marketing from day one so templates don’t get recategorized.

4. Rewrite webhook handling

Meta’s webhook format differs from your previous provider’s. Messages arrive in entry[].changes[].value.messages and statuses (sent, delivered, read, failed) in value.statuses. Validate the X-Hub-Signature-256 signature and return 200 quickly.

5. Review opt-in and your list

The Business Messaging Policy requires the recipient’s permission. Before migrating campaigns, clean your list: anyone who never opted in shouldn’t get marketing. That also protects your number’s quality on the API.

6. Shift traffic gradually

Start with customer service replies (inside the window) and utility templates. Watch failed statuses and error codes. Then move marketing campaigns, within your portfolio’s messaging limit.

Teams coming from Evolution API or Baileys follow the same path; Evolution API with the WhatsApp Cloud API shows the setup.

How to do this with Vectalk

Vectalk is a proxy for Meta’s official Cloud API: you pay Vectalk and Vectalk pays Meta. Sends go to POST https://apis.vectalk.com.br/api/messages with Authorization: Bearer <token> and Meta’s request body, and webhooks are Meta’s. Vectalk supports coexistence, so your number can stay on the WhatsApp Business app. Each delivered message is deducted from a prepaid balance on the platform, and you don’t register a card with Meta.

Before deciding, know what Vectalk doesn’t have: no customer service inbox, AI or bulk sending in the dashboard. The dashboard handles instances, templates (with a Template Library), logs, webhooks and invoices; customer service and campaigns live in your own system or tools connected to the API. See the quickstart or create your account.

Frequently asked questions

Is Z-API the official WhatsApp API?

No. Z-API’s documentation describes connecting by QR code or phone code, as in the web app, and has its own page comparing Z-API with the official API.

Will I lose my number if I move to the official API?

You don’t have to. With coexistence, the number stays on the WhatsApp Business app and starts working on the Cloud API too. If you prefer, the number can leave the app and live only on the API.

Can I keep messaging groups?

The Cloud API has a Groups API with its own requirements and limits, which differs from group use in the app. Under coexistence, group chats are not synced. If your product depends on large groups, weigh that before migrating.

How does the official API compare on price?

We don’t compare third-party prices. On the official API you pay Meta’s rate per delivered message (by country and category) plus the provider’s fee. Estimate your volume with the pricing calculator.


Official sources checked on November 4, 2026: Z-API: Introduction, Z-API: Get QR code, Z-API: Z-API vs official API, Z-API: Blocks and Bans (2026), Z-API: Send simple text, WhatsApp Terms of Service, About unofficial apps (WhatsApp), WhatsApp Business Messaging Policy, Pricing on the WhatsApp Business Platform (Meta), Onboarding WhatsApp Business app users (Meta), Vectalk quickstart.

Put your business on the official WhatsApp

Create your account, connect your number to the official API (you can keep the app with coexistence) and start serving customers and sending messages.