WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation deletes the profile picture associated with a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for managing user profile images programmatically, such as removing outdated or unwanted profile pictures in automated workflows.

Use Case Examples

  1. Automatically remove a profile picture when a user requests privacy changes.
  2. Clear profile pictures for multiple sessions in bulk as part of account management.

Properties

Name Meaning
Session Identifier of the WhatsApp session from which the profile picture will be deleted. This can be selected from a list of available sessions or entered manually.

Output

JSON

  • json - The response from the WARest API after attempting to delete the profile picture, typically indicating success or failure.

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 corresponds to an active WhatsApp session.
  • Check that the API credentials (API key and base URL) are correctly configured and have the necessary permissions.
  • If the operation fails, the node will throw an error indicating the issue, such as invalid session or network problems.

Links

  • Baileys WhatsApp API - Underlying WhatsApp API library that WARest may use for session management and messaging.
  • WARest API Documentation - Official documentation for the WARest WhatsApp REST API, detailing endpoints and usage.

Discussion