WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation retrieves the profile picture associated with a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for scenarios where you need to display or process the profile picture of a WhatsApp user or bot session, such as in customer support dashboards or user profile management systems.

Use Case Examples

  1. Fetch the profile picture of a WhatsApp session to display in a user interface.
  2. Retrieve the profile picture for backup or audit purposes in an automated workflow.

Properties

Name Meaning
Session Identifier of the WhatsApp session from which to get the profile picture. It can be selected from a list of available sessions or entered manually.

Output

JSON

  • json - The JSON object containing the profile picture data or URL 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 provided is valid and the session is active; otherwise, the API call will fail.
  • Check that the API credentials (API key and base URL) are correctly configured in the node credentials.
  • If the profile picture is not found, the API may return an empty result or error; verify the session and user profile exist.

Links

Discussion