Get Chats Overview
Retrieve a summary of all active chats and messages metadata.
Authentication Required
Login to swap the placeholders with your real Instance ID and Access Token.
Log InNo query parameters required
This endpoint doesn't expect data in the URL.
Best practices
Store the overview in a local cache (like Redux or a Map) for instant UI transitions.
Sort the results client-side by timestamp to ensure the most recent conversations are always at the top.
Use the unreadCount to drive 'Notification Badges' in your system's navigation.
Request Parameters
Configure the parameters required to interact with this endpoint. All query and body arguments are listed below with their details.
URL Parameters
Passed in the URL query stringstring | Your unique WhatsApp Instance ID Example: | ||
string | Your API Access Token Example: |
Request Samples
Use these ready-to-go code snippets to integrate our API into your project quickly and efficiently. Choose your preferred language and library.
Expected Responses
Explore all possible responses and outcomes from the server. We have documented each status code with data examples to make success and error handling easier.
Example
{
"0": {
"id": "447441429009@c.us",
"name": "John Doe",
"unreadCount": 5,
"lastMessage": {
"id": "ABC123",
"body": "Hello!",
"timestamp": 1722170400
}
}
}Command Palette
Search for a command to run...