Returns all known chats for the instance, enriched with contact info (pushName, businessName, fullName) and chat settings (pinned, archived, muted). Sorted by last activity descending.
Instance or customer-level API key. Either the instance's own API key or the customer's API key is accepted. Must be paired with the X-Instance-Id header to identify the target instance.
The ID of the WhatsApp instance to use
List of chats
Chat JID
"1234567890@s.whatsapp.net"
LID-based JID for the chat (omitted for groups or if unknown)
"222424242@lid"
When the mute expires (omitted if not muted)
Contact push name (omitted if unknown)
Business name (omitted if not a business)
Full name from contacts (omitted if unknown)
Timestamp of last activity (omitted if unknown)