Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Queue → Cancel Message

AI-generated

Summary

Cancel a queued message by specifying its Zaap ID and optional request settings

Inputs

  • zaapId (required) — The Zaap ID of the queued message to cancel
  • requestOptions — Options for the request (e.g., batching configuration)
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use, including authentication if needed
  • timeout — Time in ms to wait for the server to send response headers before aborting

Output shape

a confirmation object

Success returns no body; errors include an error envelope

Examples

Example 1: Cancel a queued message using its Zaap ID

zaapId: '12345', requestOptions: { batch: { batchSize: 1 } }

Example 2: Cancel a message with custom timeout and proxy

zaapId: 'msg-987', timeout: 15000, proxy: 'http://proxy.example.com:8080'

Links

Discussion