WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node interacts with a session management API to list sessions. It is useful for retrieving session data, including optionally all sessions regardless of their state. Practical applications include monitoring active and stopped sessions in a system, auditing session history, or integrating session data into workflows for further processing.

Use Case Examples

  1. Retrieve all active sessions for monitoring purposes.
  2. List all sessions including those stopped for audit and reporting.
  3. Use batching options to handle large numbers of sessions efficiently.

Properties

Name Meaning
All Whether to return all sessions, including those in the STOPPED state.
Request Options Additional HTTP request options such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • sessions - Array of session objects returned by the API, representing individual sessions with their details.

Dependencies

  • Requires API authentication credentials to access the session management service.

Troubleshooting

  • If the node returns no sessions, verify the 'All' property to ensure stopped sessions are included if needed.
  • Timeout errors may occur if the server is slow; adjust the 'Timeout' property accordingly.
  • SSL certificate errors can be bypassed by enabling 'Ignore SSL Issues', but this reduces security.
  • Proxy settings must be correctly configured if your network requires it, otherwise requests may fail.

Discussion