WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node interacts with the Channels resource to perform the 'Get Search Countries' operation. It is designed to retrieve a list of countries available for search within a session context. This node is useful in scenarios where you need to filter or localize content based on country availability, such as in marketing campaigns, regional content delivery, or analytics.

Use Case Examples

  1. Retrieve a list of countries for a given session to customize user experience based on location.
  2. Fetch available countries to populate a dropdown in a user interface for country-specific searches.

Properties

Name Meaning
Session The session name used to identify the context for the search countries operation.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • countries - List of countries returned by the search operation.
  • session - The session name used in the request.

Dependencies

  • Requires an API key credential or session authentication to access the Channels resource.

Troubleshooting

  • Ensure the session name is correctly provided and valid; an invalid session may result in empty or error responses.
  • If SSL certificate validation fails and the request is blocked, enable 'Ignore SSL Issues' to bypass this, but be aware of security risks.
  • Proxy settings must be correctly configured if used; incorrect proxy details can cause request failures.
  • Timeouts may occur if the server is slow or unresponsive; increase the timeout setting if necessary.

Discussion