WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation deletes a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for managing active sessions by removing those that are no longer needed or valid, helping maintain session hygiene and security. For example, if a session is compromised or obsolete, this operation can be used to delete it programmatically within an automation workflow.

Use Case Examples

  1. Deleting a session by selecting it from a list of active sessions.
  2. Manually entering a session ID to delete a specific session.

Properties

Name Meaning
Session ID The identifier of the WhatsApp session to be deleted. It can be selected from a list of existing sessions or entered manually.

Output

JSON

  • json - The JSON response from the WARest API after deleting the session, typically confirming the deletion or providing status information.

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 exists; otherwise, the API may return an error indicating the session was not found.
  • Check that the API credentials (API key and base URL) are correctly configured and have the necessary permissions to delete sessions.
  • Network issues or incorrect API endpoint configuration can cause request failures; verify connectivity and endpoint correctness.

Links

  • WAREST GitHub Repository - Official repository for the WARest WhatsApp REST API client, providing documentation and source code.

Discussion