Retrieve a list of chats for a WhatsApp instance with optional filtering and pagination.
curl --request POST \
--url https://api.example.com/chat/findChats/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"limit": 20,
"offset": 0
}'
{
"chats": [
{
"id": "chat_123",
"remoteJid": "5511999999999@s.whatsapp.net",
"owner": "my-instance",
"isGroup": false,
"name": "John Doe",
"createdAt": "2024-03-04T10:30:00.000Z",
"updatedAt": "2024-03-04T12:45:00.000Z"
},
{
"id": "chat_456",
"remoteJid": "120363123456789@g.us",
"owner": "my-instance",
"isGroup": true,
"name": "Project Team",
"createdAt": "2024-03-03T15:20:00.000Z",
"updatedAt": "2024-03-04T11:30:00.000Z"
}
],
"total": 2
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/EvolutionAPI/evolution-api/llms.txt
Use this file to discover all available pages before exploring further.
isGroup field in the response to distinguish between them.apikey header.
Show properties
curl --request POST \
--url https://api.example.com/chat/findChats/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"limit": 20,
"offset": 0
}'
{
"chats": [
{
"id": "chat_123",
"remoteJid": "5511999999999@s.whatsapp.net",
"owner": "my-instance",
"isGroup": false,
"name": "John Doe",
"createdAt": "2024-03-04T10:30:00.000Z",
"updatedAt": "2024-03-04T12:45:00.000Z"
},
{
"id": "chat_456",
"remoteJid": "120363123456789@g.us",
"owner": "my-instance",
"isGroup": true,
"name": "Project Team",
"createdAt": "2024-03-03T15:20:00.000Z",
"updatedAt": "2024-03-04T11:30:00.000Z"
}
],
"total": 2
}
curl --request POST \
--url https://api.example.com/chat/findChats/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"limit": 20,
"offset": 0
}'
{
"chats": [
{
"id": "chat_123",
"remoteJid": "5511999999999@s.whatsapp.net",
"owner": "my-instance",
"isGroup": false,
"name": "John Doe",
"createdAt": "2024-03-04T10:30:00.000Z",
"updatedAt": "2024-03-04T12:45:00.000Z"
},
{
"id": "chat_456",
"remoteJid": "120363123456789@g.us",
"owner": "my-instance",
"isGroup": true,
"name": "Project Team",
"createdAt": "2024-03-03T15:20:00.000Z",
"updatedAt": "2024-03-04T11:30:00.000Z"
}
],
"total": 2
}