WhatsApp Web API (WWebJS) icon

WhatsApp Web API (WWebJS)

Interact with WhatsApp Web API via WWebJS — send messages, manage sessions, chats, groups, contacts and channels

Contact → Get Chat

AI-generated

Summary

Fetch the chat associated with a contact.

Inputs

  • sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
  • contactId (required) — Unique WhatsApp identifier for the contact

Output shape

a single chat object (the WhatsApp chat linked to the contact)

May contain fields such as id, name, participants, isGroup, archived, etc.; empty if the contact has no chat.

Examples

Example 1: Retrieve the chat linked to a specific contact

Set Session ID to a valid session and Contact ID to e.g. 34612345678@c.us, then execute the node.

Links

Discussion