WhatsThat icon

WhatsThat

Connect sessions, link chats, and send WhatsApp messages

Session → Disconnect Session

AI-generated

Summary

Disconnect the specified WhatsApp session's active socket connection, marking its status as disconnected.

Inputs

  • sessionId (required) — The stable internal name identifying the session, e.g., 'main-phone' or 'support-phone'.

Output shape

a single record with session details post-disconnection

Returns null if the session does not exist. The returned record includes updated session status indicating disconnection.

Links

Discussion