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

Group Chat → Leave

AI-generated

Summary

Leave a WhatsApp group chat

Inputs

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

Output shape

a JSON object indicating the result of the leave operation (typically includes a success flag)

Returns a success confirmation; errors are thrown and can be handled with continueOnFail

Examples

Example 1: Leave a group chat

resource=groupChat, operation=Leave, sessionId=selectedSession, chatId=120363XXXXXXXXX@g.us

Links

Discussion