WasenderAPI icon

WasenderAPI

Manage WasenderAPI sessions, messages, contacts, and groups

Account → Get Whatsapp Session

AI-generated

Overview

This node operation retrieves details of a specific WhatsApp session from the WasenderAPI. It is useful for managing and monitoring individual WhatsApp sessions within an automation workflow, such as checking session status, fetching session metadata, or handling session-specific actions.

Use Case Examples

  1. Retrieve details of a WhatsApp session by its session ID to monitor connection status or session information.
  2. Use the node to fetch the QR code for a session to facilitate user login or re-authentication.

Properties

Name Meaning
Session The identifier of the WhatsApp session to retrieve. It can be selected from a list of available sessions or specified by ID.
Options Additional request options for handling API request retries, including whether to retry failed requests and the maximum number of retry attempts.

Output

JSON

  • id - The unique identifier of the WhatsApp session.
  • name - The name of the WhatsApp session.
  • phone_number - The phone number associated with the WhatsApp session.
  • status - The current status of the WhatsApp session (e.g., connected, disconnected).
  • qrCode - QR code data if the operation involves connecting or retrieving the QR code for the session.

Dependencies

  • Requires WasenderAPI credentials for authentication and API access.

Troubleshooting

  • Ensure the session ID is correctly specified or selected; an invalid or missing session ID will cause errors.
  • Check API credentials and permissions to ensure the node can access the WasenderAPI endpoints.
  • If the API returns retryable errors (408, 429, 500, 502, 503), verify the retry options are configured correctly to handle these cases.

Discussion