WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation lists all groups associated with a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for retrieving an overview of all groups a user is part of, enabling further group management or analysis within an automation workflow.

Use Case Examples

  1. Retrieve all WhatsApp groups for a given session to display or process group data.
  2. Use the list of groups to automate messaging or participant management tasks in WhatsApp groups.

Properties

Name Meaning
Session The WhatsApp session identifier to use for the API call. This can be selected from a list of existing sessions or entered manually.

Output

JSON

  • json - An array of group objects representing the groups associated with the specified session.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and active; an invalid or expired session will cause the API call to fail.
  • Check that the API credentials (API key and base URL) are correctly configured and have the necessary permissions.
  • If the operation is not implemented error occurs, verify that the resource is set to 'Groups' and operation to 'List Groups'.
  • Network connectivity issues to the WARest API server can cause request failures.

Links

  • WARest GitHub Repository - Official repository for the WARest WhatsApp REST API, providing documentation and usage details.

Discussion