WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation retrieves the picture of a specified WhatsApp group using the WARest WhatsApp REST API. It is useful for workflows that need to access or display the current group picture of a WhatsApp group, for example, to archive group images or to display group pictures in a dashboard.

Use Case Examples

  1. Get the profile picture of a WhatsApp group by providing the session ID and the group's unique ID (JID).
  2. Use the group picture in a notification or report by fetching it dynamically from the WhatsApp group.

Properties

Name Meaning
Session The WhatsApp session identifier to use for the API call. It can be selected from a list of available sessions or entered manually.
Group ID The unique identifier (JID) of the WhatsApp group whose picture is to be retrieved. It must end with @g.us or be the raw group ID.

Output

JSON

  • json - The JSON response containing the group picture data returned by the WARest API.

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; otherwise, the API call will fail.
  • Verify the group ID is correct and corresponds to an existing WhatsApp group.
  • Check that the API credentials (API key and base URL) are correctly configured in the node credentials.
  • Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors if the session or group ID is invalid.

Links

Discussion