WapiZap Message icon

WapiZap Message

Send WhatsApp messages - Text, images, videos, audio, documents, and more

Delete Message

AI-generated

Summary

Deletes a WhatsApp message identified by its Message ID from the specified WapiZap instance.

Inputs

  • instanceName (required) — Name of the WapiZap instance to use for the request
  • messageId (required) — ID of the message to delete
  • apiVersion — API version to use (v2 recommended, v1 for Evolution compatibility)
  • delay — Delay in milliseconds before performing the delete
  • fileName — Custom file name (included in additional options but not used for delete)

Output shape

array of objects

Each item contains the response from the WapiZap API after attempting to delete the message (e.g., e.g., success flag or error details.

Examples

Example 1: Delete a specific WhatsApp message

Set Instance Name to your instance ID, provide the Message ID you wish to delete, optionally set a delay or API version.

Discussion