GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Chat → List Chats

AI-generated

Overview

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

  1. Retrieve the first 50 chats containing media messages.
  2. 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.

Discussion