WasenderAPI icon

WasenderAPI

Manage WasenderAPI sessions, messages, contacts, and groups

Account → Get Session Logs

AI-generated

Overview

This node operation retrieves session logs for a specified WhatsApp session using the WasenderAPI. It is useful for monitoring and debugging session activities, such as connection status, errors, and other session-related events. For example, a user can fetch all session logs or limit the number of logs returned to analyze recent session behavior or troubleshoot issues.

Use Case Examples

  1. Fetch all session logs for a given WhatsApp session to monitor connection events.
  2. Retrieve a limited number of session logs to analyze recent session activity for debugging purposes.

Properties

Name Meaning
Session The specific WhatsApp session to retrieve logs from, selectable by list or by ID.
Return All Whether to return all session logs or limit the number of results.
Limit Maximum number of session log entries to return when 'Return All' is false.
Page Page number of results to return when 'Return All' is false and pagination is used.
Options Additional request options such as retry behavior on failed API requests.

Output

JSON

  • json - The session log entries returned from the WasenderAPI, each representing a session event or log record.

Dependencies

  • Requires WasenderAPI credentials for authentication.

Troubleshooting

  • Ensure the session ID is valid and the session exists; otherwise, the API call will fail.
  • If the API returns errors like 408, 429, 500, 502, or 503, the node can retry requests based on the configured retry options.
  • Invalid JSON or malformed input parameters may cause errors; verify input correctness.

Links

Discussion