Zender icon

Zender

Interact with Zender WhatsApp API

Overview

The node interacts with the Zender WhatsApp API to manage chats, messages, accounts, campaigns, contacts, groups, OTPs, servers, SMS, and phone number validations. Specifically for the Chat resource and the Delete Sent operation, it deletes a sent chat message by its ID.

This operation is useful when you want to programmatically remove a sent chat from your WhatsApp account managed via Zender's API. For example, if a message was sent in error or needs to be retracted, this node can delete that sent chat entry.

Properties

Name Meaning
Chat ID The unique numeric identifier of the chat message to delete. This is required to specify which sent chat to delete.

Output

The output is a JSON object representing the response from the Zender API after attempting to delete the sent chat. It typically contains status information about the deletion request, such as success confirmation or error details.

Example structure (illustrative):

{
  "success": true,
  "message": "Sent chat deleted successfully",
  "id": 12345
}

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the Zender WhatsApp API.
  • Requires an API key credential for authentication with the Zender API.
  • The base URL and API secret are configured in the node credentials.
  • The node uses HTTP GET requests with query parameters to perform the deletion.

Troubleshooting

  • Common issues:

    • Invalid or missing Chat ID: Ensure the Chat ID provided exists and is correct.
    • Authentication errors: Verify that the API key credential is valid and has necessary permissions.
    • Network or connectivity problems: Check internet access and API endpoint availability.
  • Error messages:

    • "error": "Chat not found": The specified Chat ID does not exist or is already deleted.
    • "error": "Unauthorized": API key is invalid or expired; update credentials.
    • "error": "Failed to delete chat": General failure; retry or check API status.

To resolve errors, confirm input parameters, refresh credentials, and ensure the Zender API service is operational.

Links and References

Discussion