WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node interacts with a session management system to list sessions. It is useful for retrieving active or all sessions, including those that have been stopped. Practical applications include monitoring user sessions, auditing session activity, or managing session lifecycles in an automated workflow.

Use Case Examples

  1. List all active sessions to monitor current user activity.
  2. Retrieve all sessions including stopped ones for audit purposes.

Properties

Name Meaning
All Determines whether to return all sessions, including those in the STOPPED state.
Request Options Settings to control request behavior such as batching, SSL validation, proxy usage, and timeout.

Output

JSON

  • sessions - Array of session objects returned by the list operation.

Dependencies

  • Requires connection to the session management API with appropriate authentication credentials.

Troubleshooting

  • If the node returns no sessions, verify the 'All' property to include stopped sessions if needed.
  • Timeout errors may occur if the server is slow; adjust the 'Timeout' property accordingly.
  • SSL validation errors can be bypassed by enabling 'Ignore SSL Issues', but this reduces security.
  • Proxy settings must be correctly configured if a proxy is required for network access.

Discussion