WapiZap Chat icon

WapiZap Chat

Manage WhatsApp chats via WapiZap API

List Chats

AI-generated

Summary

List all chats for a WhatsApp instance.

Inputs

  • apiVersion — Which API version to use (v1 or v2).
  • instanceName (required) — Name of the WhatsApp instance.

Output shape

a list of chat objects

Each item represents a chat summary, typically including ID and preview; the response is an array.

Examples

Example 1: Display all chats in a dashboard

Set API Version to v2, provide an Instance Name, and run List Chats.

Example 2: Detect new chats before sending a message

Use default settings, specify Instance Name, and execute List Chats.

Discussion