· 7 min read

Z-API Omni vs WPPConnect: WhatsApp Web library or hosted API


WPPConnect fits developers who want WhatsApp Web automation inside their own Node.js code or server. Z-API Omni fits teams that need Meta’s official API or more channels. WPPConnect comes in two parts. The wppconnect library is a “WhatsApp Web automation library for Node.js and TypeScript” that drives the browser with Puppeteer (wppconnect README, accessed 2026-11-05). WPPConnect Server is a “Self-hosted WhatsApp REST API built on WPPConnect” (server README, accessed 2026-11-05). Both need Chrome or Chromium on the host, and the two repos carry different licenses. Omni is a hosted subscription per number, and the customer chooses between the QR connection and Meta’s official API, in the same account.

The two products on the same axes

Z-API Omni WPPConnect (library and server)
What it is Hosted API Node.js library, plus a self-hosted REST server built on it
WhatsApp connection QR connection or Meta’s official API, in the same account WhatsApp Web automation through Puppeteer and Chrome/Chromium (library README)
Other channels Instagram, Messenger, Telegram None
What you operate No server Docker with Compose, or Node.js 22.22.2, Corepack/Yarn 4.14.1 and Chromium (server README)
Auth Secret Key as Authorization: Bearer SECRET_KEY in .env, exchanged for a per-session Bearer token (legacy reference)
Webhook signing HMAC-SHA256 in x-webhook-signature Not documented in the README or reference
Webhook retries Up to 7 attempts within 23 hours Default 3 attempts on connection failures, held in memory. HTTP error responses not retried (legacy reference)
License Commercial subscription Library LGPL-3.0-or-later (library README). Server Apache-2.0 (server README)
Price US$29 per number per month for 1–10 numbers, down to US$20 above 100 No license fee. Funded through Open Collective
Latest release Not applicable Library v2.3.6, 2026-10-23 (releases). Server v2.10.76, 2026-11-05 (releases)

All links accessed 2026-11-05.

A library and a server

You import the library into your own Node.js app and call it in-process, with no HTTP layer between your code and the session. Its README lists text, images, video, audio, documents, contacts, locations and stickers, plus multiple sessions, QR pairing, chats and groups. It needs Node.js and npm “plus Chrome/Chromium and its operating-system dependencies”.

The server wraps that library in a REST API. It adds “Session pairing, text/media messaging, contacts, groups and product operations”, along with “Session tokens, webhooks, authenticated Manager events and Swagger UI”. The wider WPPConnect ecosystem (accessed 2026-11-05) also includes WA-JS, a set of browser-side WhatsApp Web functions, and WPP4Delphi for Delphi applications.

Both parts are a QR connection. The READMEs state that “This project is independent and is not affiliated with or endorsed by WhatsApp or Meta”. They also ask you to “Follow applicable terms and obtain authorization for account and messaging operations”. WhatsApp’s Terms of Service (accessed 2026-11-05) bar reverse engineering the service and creating “software or APIs that function substantially the same as our Services”. Can a QR-connected number be banned? covers what that means for an account.

On Omni’s official channel, the SDK opens Meta’s Embedded Signup (connect WhatsApp, accessed 2026-11-05). The QR connection vs Meta’s official API lays out the trade-offs.

Chromium on every host you run

Every WPPConnect session is a WhatsApp Web session in a browser that Puppeteer controls. Chromium and its OS packages go wherever the library or server runs. The server README lists “Docker with Compose, or Node.js 22.22.2, Corepack/Yarn 4.14.1, Chromium”. Its Docker setup keeps “Persistent Docker volumes for credentials, browser data, media and logs”. No CPU or memory sizing per session is published.

The quick start, as published in the server README:

cp .env.example .env
docker compose up -d
docker compose ps
curl -fsS http://localhost:21465/healthz

The README says to “Edit .env and set a private random SECRET_KEY before starting”. You then open http://localhost:21465/manager/, sign in with that key and pair a session. For API calls, the legacy reference (accessed 2026-11-05) exchanges the SECRET_KEY for a session token. This request is verbatim, with THISISMYSECURETOKEN standing in for your key:

curl -X POST --location "http://localhost:21465/api/mySession/THISISMYSECURETOKEN/generate-token"

The response carries status, session, token and full, and you send full as the Bearer token.

The server published v2.10.73 through v2.10.76 between 2026-10-31 and 2026-11-05 (server releases, accessed 2026-11-05). The library published v2.3.4 through v2.3.6 in October 2026 (library releases, accessed 2026-11-05). Neither repo is archived. Tracking those releases is your job, and when a session drops, the session error guide covers how to read the cause.

On Omni, the Secret Key comes from the dashboard Security menu and goes in Authorization: Bearer on every request. It “must never be exposed in the frontend” (authentication, accessed 2026-11-05). The workspace adds IP restriction for that key, two-factor login, team roles and an audit log (security, accessed 2026-11-05).

Channels: WhatsApp Web only

WPPConnect covers WhatsApp through WhatsApp Web, with no Meta Cloud API option in its READMEs. Its server exposes groups, contacts and product operations.

Omni has four channel types: META_WHATSAPP, META_INSTAGRAM, META_MESSENGER and BOT_TELEGRAM. Instagram and Messenger connect through Meta OAuth, Telegram with a bot token (channels overview, accessed 2026-11-05). Its message support matrix (accessed 2026-11-05) offers Flows, catalogs and option lists on the Cloud API and polls on Telegram only. The API doesn’t send quoted replies yet or delete a sent message, on any channel. Omni’s limitations page (accessed 2026-11-05) marks listing groups, adding participants, group settings and status sends as not supported.

Webhooks: retries live in memory

WPPConnect Server sends webhooks only to destinations listed in WEBHOOK_ALLOWED_URLS. The legacy reference documents the retry settings:

  • WEBHOOK_RETRY_ATTEMPTS: “total attempts, default 3, range 1-10”.
  • WEBHOOK_RETRY_DELAY: “initial backoff in ms, default 5000, capped at 60000”.
  • WEBHOOK_REQUEST_TIMEOUT: “ms per request, default 30000”.

Delivery “retries transient connection failures with exponential backoff”, but “HTTP error responses are not retried”. A 500 from your receiver is not sent again. “Retries are held in memory and do not survive a server restart.” The reference tells receivers to “deduplicate message events by session, event and message ID”. Neither the README nor the reference mentions request signing, and neither lists the webhook events.

Omni signs each delivery when you create the webhook with signing: true. The header is x-webhook-signature: t={unix_timestamp},v1={hmac_sha256_hex}, computed over the timestamp, topic, partition, offset and raw body (signature, accessed 2026-11-05). The delivery page (accessed 2026-11-05) documents up to 7 attempts within 23 hours, from immediate to 12 hours apart. Timeouts, connection errors, 408, 429 and 5xx are retried. Omni sends those retries, so they don’t sit in a process you run. Deduplicate on x-webhook-delivery-id, which stays the same on every attempt, and keep IDs for at least 24 hours. Deduplicating webhooks in n8n shows the pattern.

Two licenses in one project

The server is Apache-2.0, “Copyright 2021 WPPConnect Team”, per its README. The library is LGPL-3.0-or-later, per its README and its LICENSE.md, which carries the LGPL v3 text “with additional permissions”. GitHub’s metadata labels it “Other”, and the project homepage (accessed 2026-11-05) says “MIT licensed”. Read LICENSE.md in the library repo before you ship it inside a product, since the sources disagree.

What each one costs

WPPConnect has no license fee and no paid or hosted offering, and the project is funded through Open Collective. Your cost is the server that runs Chromium for each session, its storage, and your hours to update and watch it. WhatsApp Web carries no Meta per-message fees.

Omni costs US$29 per number per month for 1–10 numbers, US$26 for 11–50, US$23 for 51–100 and US$20 above 100. WhatsApp, Messenger, Instagram and Telegram come in one subscription. There is no per-message cost on the QR connection, and Meta’s fees are passed through on the official connection.

Where WPPConnect fits better

Pick WPPConnect when you want a library inside your own Node.js process instead of a REST service. It fits if you build in Delphi, through WPP4Delphi. It also fits if you need WhatsApp groups, contacts or product operations, or an Apache-2.0 server you can modify. Omni’s limitations page marks group features as not supported, and its docs don’t show the other two.

Where Z-API Omni fits better

Pick Omni when you need Meta’s official API, with templates and Flows, since WPPConnect automates WhatsApp Web only. It fits if Instagram, Messenger and Telegram must sit behind the same API. It also fits if you want signed webhooks whose retries don’t sit in a process you run, and no Chromium to run for every number. Moving off a WhatsApp Web library has its own steps in the migration guide. Baileys and whatsapp-web.js vs the Cloud API compares the libraries underneath. For other self-hosted options, Z-API Omni vs Evolution API and Z-API Omni vs WAHA run the same comparison. View documentation.

Z-API Omni team