Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Account → Disconnect Whatsapp Session
AI-generatedOverview
This node operation disconnects a specified WhatsApp session using the WasenderAPI. It is useful for managing active WhatsApp sessions by terminating connections when they are no longer needed or to reset the session state. For example, if a WhatsApp session is stuck or needs to be refreshed, this operation can be used to disconnect it cleanly.
Use Case Examples
- Disconnect a WhatsApp session by selecting it from a list of active sessions.
- Use the session ID to disconnect a specific WhatsApp session programmatically.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session to disconnect, selectable either from a list of active sessions or by specifying the session ID. |
| Options | Additional request options for the API call, including retry behavior and maximum retry attempts. |
Output
JSON
json- The JSON response from the WasenderAPI after disconnecting the WhatsApp session, which may include session status or confirmation details.
Dependencies
- Requires WasenderAPI credentials for authentication.
Troubleshooting
- Ensure the session ID or selected session is valid and active before attempting to disconnect.
- If the API returns errors like 408, 429, 500, 502, or 503, the node can retry the request based on the configured retry options.
- Common errors include invalid session ID or network issues; verify credentials and network connectivity.
Links
- WasenderAPI Disconnect WhatsApp Session - Official API documentation for disconnecting a WhatsApp session using WasenderAPI.