Skip to content
Z-API Omni

Change the infrastructure. Keep what you’ve built.

Your product doesn’t need a fresh start. Separate business logic from messaging integration and migrate with a plan you can test.

01Your productCRM · ERP · SaaS · automations
02Integration layerCredentials · sending · events
Z-API OmniOne integration. New possibilities.
Suggested architecture: keep changes in the layer that talks to the API.
01

Where are you migrating from?

Choose your starting point. The goal stays the same; the details change.

Where are you migrating from?

Hosted API

List the calls, media formats and events your product uses today. Compare authentication, identifiers and payloads before switching providers.

Start with an inventory of endpoints and events.

Build my migration plan

Evolution / WAHA

Review the version and features used in your installation. Separate instance IDs from channel IDs and adapt sending, connection and webhooks to the Omni contract.

Start with an inventory of instances and features.

Build my migration plan

Your own Baileys

Find the code that calls the library directly. Create a messaging interface in your backend and replace calls and listeners with REST and webhooks, case by case.

Start with a clear boundary between business logic and the library.

Build my migration plan

Z-API

Choose the Z-API compatibility layer or native API based on routes and connection. The official skill helps analyze your project before the switch.

Start with the inventory guided by the migration skill.

View migration skill

This is not an automatic URL swap. Endpoints, credentials, sessions and payloads may differ. Validate every feature your product uses.

02

What stays. What changes.

KEEP

Business rules, screens and data can stay in your product. The effort depends on how tightly they are coupled to your current provider.

ADAPT

Sending integration, authentication, channel IDs and event handling must follow the Omni contract.

VALIDATE

Keeping the same number depends on the connection type and account conditions. Do not assume automatic import of history, sessions or templates.

03

Map the integration before moving traffic.

A responsibility map, not a promise that APIs are interchangeable.

In your product todayReview in OmniReference
Provider tokenBearer authentication and backend credentialsAuthentication ↗
Instance or sessionChannel and its channelIdChannels ↗
Text sendingPOST /v1/channels/{channelId}/messagesSend text ↗
Listeners or callbacksHMAC signature and event deduplicationWebhooks ↗
Media and special featuresChannel support and sending rulesChannel capabilities ↗
04

Migrate with an agent that knows the path.

Official skills for your coding agent. They guide analysis and code changes in your project; they do not automatically migrate your account.

For Z-API users

The omni-migration-from-z-api skill inventories calls, compares the compatibility layer with the native API, and guides credentials, webhooks, number connection, cutover and rollback. Compatibility has limits: check routes and connection type before choosing.

View migration skill

For Evolution, WAHA, Baileys and other APIs

Use omni-core and omni-onboarding as destination references. The catalog does not yet include a migration skill specific to these sources; map your own implementation.

View skills catalog
Install in your project
npx skills add zapiglobalx/skills --skill omni-migration-from-z-api
Ask your agent

Use omni-migration-from-z-api to analyze this project. First show the call and webhook inventory, incompatibilities, and a test and rollback plan. Do not change production or send messages before I review the plan.

05

Make your first test a small one.

Use a connected test channel and a controlled recipient. This example sends text; verify incoming messages and delivery status before migrating.

Backend example. Replace the variables and keep the secret key out of the browser.

Send text
cURL · REST API
curl --request POST \
  --url "https://api.omni.z-api.io/v1/channels/${OMNI_CHANNEL_ID}/messages" \
  --header "Authorization: Bearer ${OMNI_SECRET_KEY}" \
  --header 'Content-Type: application/json' \
  --data '{
    "recipient": { "identifier": "5511999999999" },
    "content": {
      "type": "TEXT",
      "body": { "message": "Hello from Omni" }
    }
  }'
06

From inventory to production in four steps.

  1. Map

    List messages, media, events, numbers and dependencies. Define what must work before approving the switch.

  2. Test in isolation

    Connect a test channel. Validate sending, receiving, delivery, failures, signatures and duplicate events.

  3. Switch over

    Choose a window, pause sending at the source and confirm the destination connection. Route traffic without two competing senders.

  4. Observe and consolidate

    Monitor queues, errors and events. Keep a tested rollback plan; retire the old configuration only after validation.

07

Before you switch.

Check what your team has validated. This local checklist does not connect to or change your account.

0 of 6 items reviewed

A text file with your starting point, steps and current checklist. No data is sent.

08

Questions that need clear answers.

Can I keep my number?

Number continuity depends on the connection type and current account state. Confirm requirements before disconnecting the source. Migrating an integration does not automatically transfer a session.

Will my code work unchanged?

Do not assume direct compatibility with Evolution, WAHA or Baileys. Keep business logic where possible and adapt the layer that sends messages and receives events.

Does my history move with me?

Do not assume import of history, sessions or templates. Preserve the data your product already stores and confirm any transfer requirement separately.

Is the migration interruption-free?

Timing depends on the connection and your operation. Plan a window, manage queues and validate rollback. This guide does not guarantee zero downtime.

Start with one channel. Validate with your product.

Create an account, run a controlled test and turn your checklist into a production rollout plan.