Skip to main content
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 the apikey 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

Use pagination with limit and offset to efficiently load large contact lists.
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.