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

Client → Unarchive Chat

AI-generated

Summary

Unarchive a chat

Inputs

  • sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
  • chatId (required) — The chat ID. Use number@c.us for individuals or number@g.us for groups.

Output shape

object indicating success, typically containing a success flag and possibly the unarchived chat details

Response may include a success field; no body is returned if only status is needed.

Examples

Example 1: Unarchive a group chat using the default session

resource=client, operation=unarchiveChat, sessionId=default, chatId=34612345678@c.us

Example 2: Unarchive a specific chat with a custom session ID

resource=client, operation=unarchiveChat, sessionId=mySession, chatId=9876543210@c.us

Links

Discussion