Lists every synced contact or queries a specific number
Auth:Documentation Index
Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
Use this file to discover all available pages before exploring further.
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: yes
ContactStore, these are the contacts coming from the main phone’s address book: name, push name, business name, and redacted phone number.
If ?number= is provided, returns a single contact. If the number is not in the address book, the response is still 200 OK with contact.found = false.
ContactStore, with total indicating the size of the list.
?number=5511999999999 (international phone). Returns the single contact object, with found=false when the number is not in the synced address book.
?number=5511999999999@s.whatsapp.net when you already have the full identifier (from a webhook or another API response), avoiding manually building the suffix.
?number, returns contacts (array) with every contact synced from the address book + total. With ?number=..., returns only contact (a single object). Each item carries jid, lid (when applicable), the available names (first_name, full_name, push_name, business_name), and redacted_phone for cases where we only know the LID. The found field indicates whether the entry came from the store.
$Instance_Name).| Name | Required | Example | Description |
|---|---|---|---|
token | yes (or Authorization) | a1b2c3d4-... | TokenAccount or TokenInstance. |
5511999999999) or JID (5511999999999@s.whatsapp.net, ...@lid). If provided, returns only this contact.found=false with empty push_name and empty redacted_phone usually means the number does not have WhatsApp or never exchanged messages with you.business_name is only filled for verified WhatsApp Business accounts.context.WithTimeout(30s) applied to GetAllContacts.| HTTP | error.message | When it happens |
|---|---|---|
| 400 | Instance name is required | Empty :instance. |
| 401 | Invalid token | See Authentication. |
| 404 | Instance not found | The instance does not exist on the account. |
| 500 | WhatsApp client not found for instance | Client deallocated. |
| 500 | WhatsApp client is not connected | Disconnected instance. |
| 500 | contact store not available (use a store that implements ContactStore, e.g. sqlstore) | Store not supported. |
| 500 | invalid number: <...> | Malformed ?number=. |
| 500 | failed to get contacts: <...> / failed to get contact: <...> | Internal WhatsMeow error. |