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

Session → Restart

AI-generated

Summary

Restart a WhatsApp session

Inputs

  • sessionId (required) — Unique identifier for the session. Select from the list or switch to expression mode to enter a custom ID. Falls back to the default from credentials if empty.

Output shape

no body — success/failure only

Returns a success response if the session restarts; may throw an error if the session does not exist or cannot be restarted.

Examples

Example 1: Restart a specific session

resource=Session, operation=Restart, sessionId=patroltech

Example 2: Restart using default session

resource=Session, operation=Restart (leave sessionId empty to use default from credentials)

Links

Discussion