Overview
New-API contact routes, under/v1/channels/{channelId}/contacts. Available on the WhatsApp Web channel (Z_API_WHATSAPP) only: list, get, photo, check numbers, and capabilities.
On a Meta channel (
META_WHATSAPP), these routes respond 422 — the official API gives no access to the number’s contacts. The capabilities route responds 200 with an empty operations list. Telegram, Instagram and Messenger also respond 422 on these routes: contacts belong to a WhatsApp number.Writes (add, remove, and report a contact) come in a later phase and respond
422 today./v1/channels/{channelId}/... path is served; the /instances and /devices prefixes respond 404.
Common errors
Every contact route may respond, on the Omni API:401 when the Secret Key is refused (Authentication); 403 ip_not_allowed when the IP is off the list (IP restriction); and 404 {"error": "instance not found"} when the channel does not exist.
On the data routes (list, get, photo and check), the checks run in this order: missing channel (404), instance not provisioned (422 {"error": "instance is not provisioned"}), subscription inactive (422 {"error": "instance subscription is not active"}), workspace blocked (422 {"error": "You are blocked, contact support."}) and, last, operation not supported on the channel (422 operation not supported for this instance). The capabilities route does not run these 422 checks.
The blocked status is cached for up to 4 hours: blocking or unblocking the workspace may take that long to apply.