GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Service → Delete Message

AI-generated

Summary

Delete a WhatsApp message by sending its chat ID and message ID to the Green-API deleteMessage endpoint. The node processes each input item separately and returns the endpoint response for each item.

Inputs

  • Chat ID (required) — The chat containing the message, such as 79000000000@c.us.
  • Message ID (required) — The ID of the message to delete, such as BAE01234567890ABC.

Output shape

A list of items, one per input item, each containing the Green-API response in json.

Requires Green-API credentials. If “Continue On Fail” is enabled, failed items contain an error field; otherwise, errors stop execution.

Examples

Example 1: Delete a specific message

Set Chat ID to 79000000000@c.us and Message ID to the target message's ID. The node sends both values in a POST request to Green-API's deleteMessage endpoint.

Links

Discussion