Retrieves a list of all known contacts from the connected WhatsApp account's address book and chat history. This includes individual contacts (JIDs ending in @c.us) and sometimes LID-based identifiers (JIDs ending in @lid), which are used for privacy-aware business interactions.Developer Tips:
Data Volume: This endpoint can return a large number of contacts.
Pagination: Use the limit and offset parameters to manage large lists efficiently.
Filtering: You can use sortBy and sortOrder to organize the returned list.
Request
Query Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://wawp.net/wp-json/awp/v1/contacts/all?instance_id=123456789&access_token=123456789&limit=50&offset=0&sortBy=name&sortOrder=ASC'