Actions69
- App Actions
- Chat Actions
- Device Actions
- Group Actions
- Add Participant
- Approve Participant Request
- Create Group
- Demote Participant
- Export Group Participants
- Get Group Info
- Get Group Info From Link
- Get Group Invite Link
- Get Group Participants
- Get Participant Requests
- Join Group With Link
- Leave Group
- Promote Participant
- Reject Participant Request
- Remove Participant
- Set Group Announce Mode
- Set Group Locked Status
- Set Group Name
- Set Group Photo
- Set Group Topic
- Message Actions
- Newsletter Actions
- Send Actions
- User Actions
Chat → List Chats
AI-generatedOverview
This node operation lists chat conversations from the Go WhatsApp Web MultiDevice API. It is useful for retrieving a paginated list of chats, optionally filtered by search terms or whether the chats contain media messages. This can be used in scenarios such as displaying recent chats, searching for specific chat conversations by name, or filtering chats that include media content.
Use Case Examples
- Retrieve the first 50 chats containing media messages.
- Search chats by name with a limit and offset for pagination.
Properties
| Name | Meaning |
|---|---|
| Device ID | Optional device ID override that takes priority over the credential device ID if set. |
| Limit | Maximum number of chat results to return, with a minimum value of 1. |
| Offset | Number of chats to skip for pagination purposes. |
| Search | Search term to filter chats by their name. |
| Has Media | Boolean flag to filter chats that contain media messages. |
Output
JSON
id- Unique identifier of the chat.name- Name of the chat.lastMessage- Details of the last message in the chat.unreadCount- Number of unread messages in the chat.hasMedia- Indicates if the chat contains media messages.
Dependencies
- Go WhatsApp Web MultiDevice API
- API key credential for authentication
Troubleshooting
- Common issues include invalid device ID override or missing/incorrect API credentials, which can cause authentication failures.
- Errors related to pagination parameters (limit and offset) being out of range or invalid types.
- Search parameter might return no results if the search term does not match any chat names.