WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node interacts with WhatsApp Channels to retrieve information about a specific channel. It is useful for scenarios where you need to fetch details of a WhatsApp Channel by providing the session name and the channel's unique ID or invite code. For example, it can be used in automation workflows to monitor or manage WhatsApp Channels by fetching their current state or metadata.

Use Case Examples

  1. Fetch details of a WhatsApp Channel using its invite code to display channel information in a dashboard.
  2. Retrieve channel data to automate responses or updates based on channel status.

Properties

Name Meaning
Session The name of the WhatsApp session to use for the request. This identifies the user session context for the API call.
Id The WhatsApp Channel ID or invite code extracted from the invite link, used to specify which channel to retrieve information about.
Request Options Optional settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • channel - The retrieved WhatsApp Channel information object containing details about the channel.

Dependencies

  • Requires an active WhatsApp session identified by the session name provided.
  • May require network access and optionally proxy configuration for HTTP requests.

Troubleshooting

  • Ensure the session name is correct and active; otherwise, the node will fail to authenticate or retrieve data.
  • Verify the channel ID or invite code is valid and correctly formatted; invalid IDs will result in errors or empty responses.
  • If SSL errors occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Check proxy settings if network requests fail due to connectivity issues.
  • Timeout errors can be resolved by increasing the timeout value in request options if the server response is slow.

Discussion