Skip to main content
This page records the Omni Z-API changes that alter what your integration receives. Each entry gives the date the change went to production, what changes, the before and after, and what you need to do.
Handle your integration by status, error, code and subCode. The message text is meant for humans and may change without notice.
Authentication and plan errors, Z_API webhooks and /send-* routes
The three changes below went to production on November 18, 2026.

Clearer errors for authentication, plan, QR code and disconnected channel

The errors below now carry a message that says what happened, why and what to do. Three of them change status. Where there was already a text, it stays as the start of message.
The status changes below — 400→401, 400→403 ip_not_allowed and 422→403 plan_required — are on the Omni API (https://api.omni.z-api.io/v1/...). On the compatible Z-API route (https://zapi.omni.z-api.io) authentication and the IP allow list have not changed: a refused credential stays 400/422 {"error": "Authorization invalid"} and an IP off the list stays 400 {"error": "<ip> not allowed"}.

Secret key refused: 400 becomes 401

Applies to the Omni API (/v1/...) routes that accept the secret key. The message depends on the cause:<secret-key> is literal: the response never echoes the value you sent.Before:
After:

IP not allowed: 400 becomes 403

Before:
After:
When the source IP cannot be identified, message starts with ip not allowed: .

Without the ENTERPRISE role: 422 becomes 403 plan_required

Applies to the six channel operations with the secret key: list, read, create, delete, subscribe and cancel the subscription. Each keeps its current text as the start of message: Channel listing requires ENTERPRISE role (list and read), Channel creation requires ENTERPRISE role, Channel deletion requires ENTERPRISE role and Channel subscription requires ENTERPRISE role (subscribe and cancel).Before:
After:

Blocked workspace: same status, with message

Applies to sending, message editing and group routes, with the secret key or with an OAuth token.Before:
After:

QR code refused: same status and same error, with message

Applies to GET /v1/channels/{id}/zapi/qr-code and GET /v1/channels/{id}/zapi/qr-code/image, when the refusal comes with NEED_SIGN_ZAPI. The error object does not change, field by field. Other QR code refusals stay as they are today.Before:
After:

Disconnected channel: only the message changes

Applies to POST /v1/channels/{id}/messages, to the /send-* routes and to PUT /v1/channels/{id}/messages/{messageId}. Status, timestamp, code and subCode do not change.Before:
After, on send:
On edit (PUT .../messages/{messageId}), the text says the message was not edited and ends with and edit again. An edit made through POST .../messages with editMessageId gets the send text.

What to do

  • If your integration handles a refused credential by status == 400, handle 401 instead.
  • If it handles an IP not on the list by 400, handle 403 with error ip_not_allowed.
  • If it handles the missing ENTERPRISE role by 422, handle 403 with error plan_required. The old text left error and is now the start of message.
  • If it compares the IP or role error with the exact text, compare with ip_not_allowed and plan_required.
  • Blocked workspace, refused QR code and disconnected channel need no change: status, error, code and subCode stay the same.
  • On the compatible Z-API route nothing changes here: a refused credential stays 400/422 and an IP off the list stays 400.
The OAuth token path does not change: invalid_token, insufficient_scope and ip_not_allowed stay as they are today, and reading channels with the token still does not require the ENTERPRISE role. The Public Key used in the connection SDK does not change either.

Webhooks in the Z_API format: notification at the callback root

For notification events (group, call, profile, newsletter and system messages), webhooks with payloadFormat Z_API will deliver notification as a string and notificationParameters as an array, both at the root of the ReceivedCallback, as Z-API does. Today both arrive inside a notification object.Before:
After:
  • notificationParameters is only sent when the event has parameters. It can be empty ([]).
  • Pinned messages stay in pinMessage, unchanged.
  • The DEFAULT and CHATWOOT formats do not change.
  • On official API (Meta) channels, the notification value is still what Meta sends (for example, revoke). Only the field position changes.

What to do

If your integration reads notification.notification or notification.notificationParameters, read notification and notificationParameters at the root instead. If you already follow the Z-API documentation, no change is needed. See Webhooks introduction.

/send-* routes now accept the Omni payload

The POST /v1/channels/{id}/send-* routes now accept the same body as POST /v1/channels/{id}/messages, {"recipient": {...}, "content": {...}}, and respond like it: 200 with {"messageId": "..."}. The message type comes from the route, so content.type is optional.Before, these routes forwarded the body without parsing it, and nothing was sent: the response was 502, 400 or 415, depending on the body.Before:
After:

Route and type

On send-document/{extension}, the path segment is ignored: the extension goes in each attachment, as in /messages. send-template still accepts only official WhatsApp (Meta) channels. If the channel does not support the type, the refusal is the same as in /messages.

Errors

The examples use send-text, TEXT and send-poll. On each route, the text carries that route’s name and type.Routes with no equivalent type respond 422 with any credential or none, and do not count toward the app send limit: send-link-list, send-option-multi-list, send-button-pix, send-remove-reaction, send-poll, send-poll-vote, send-call, send-chat-expiration, send-text-status, send-image-status, send-video-status, send-order, send-request-payment, send-event, send-edit-event, send-event-response, send-comment, send-catalog, send-product and send-newsletter-admin-invite.The /send-* routes now exist only under /v1/channels/{id}. The variants /channels/{id}/send-*, /v1/instances/{id}/send-*, /instances/{id}/send-*, /v1/devices/{id}/send-* and /devices/{id}/send-* now respond 404. POST .../messages and PUT .../messages/{messageId} stay on every variant.With an OAuth token, the typed routes require the same messages:send scope as /messages and count toward the same daily app send limit.

What to do

  • To send through a /send-* route, use the POST /v1/channels/{id}/messages body, on the /v1/channels/{id}/send-* path. See Messages.
  • The body is still JSON. File upload through multipart/form-data is not accepted: send the media by URL or Base64 inside the JSON.
  • If your integration uses the Z-API body (phone, message), use the Z-API compatibility, at https://zapi.omni.z-api.io, which accepts that format.