Z-API WhatsApp icon

Z-API WhatsApp

Integration with Z-API (WhatsApp) organized by resources (messages, groups, chats, contacts, products, queue, instance, status, etc.).

Message Queue → Delete Queue Message

AI-generated

Summary

Removes a specific message from the Z-API send queue using its ZaapId.

Inputs

  • zaapId (required) — ZaapId of the queued message to delete. This ID is returned by the queue listing endpoint (GET /queue).

Output shape

The API response (JSON) indicating success or failure. If the message was successfully deleted, the API may return an empty or success response.

Requires a valid ZaapId. The operation performs a DELETE request to the Z-API queue endpoint.

Examples

Example 1: Remove a failed queued message from the queue.

Set zaapId to the ID of the message to delete.

Links

Discussion