Contacts
List Contacts
Retrieve contacts from your WhatsApp instance with filtering and pagination.
POST
Overview
You can fetch all contacts from your WhatsApp instance. This endpoint supports advanced filtering and pagination to help you find specific contacts efficiently.Contacts are automatically synced from your WhatsApp instance. This includes both saved contacts and users you’ve chatted with.
Authentication
This endpoint requires authentication via theapikey header.
string
required
Your Evolution API key for authentication.
Path Parameters
string
required
The name of your WhatsApp instance.
Request Body
The request body accepts a query object for filtering and pagination:object
Filter criteria for contacts.
number
default:"20"
Maximum number of contacts to return.
number
default:"0"
Number of contacts to skip (for pagination).
object
Sorting configuration.
Response
array
Array of contact objects.
number
Total number of contacts matching the query.
Usage Notes
Contacts are automatically updated when you receive messages or interact with users on WhatsApp.
The
pushName field reflects the name set by the contact themselves, not your saved contact name.