Skip to main content
DELETE
/
instances
/
{instanceId}
/
token
/
{token}
/
queue
/
{zaapId}
Delete queue message
curl --request DELETE \
  --url https://api.z-api.io/instances/{instanceId}/token/{token}/queue/{zaapId} \
  --header 'Client-Token: <api-key>'

Overview

This method is responsible for deleting a specific message from the queue awaiting processing.

Attributes

instanceId
string
required
Your instance ID. Available in the Z-API panel under Instances.
token
string
required
Your Z-API instance token.

Path

zaapId
string
required
ID of the queue message to delete

Response

200

Message removed from queue successfully.

405

Make sure you are correctly sending the method specification, that is, verify that you sent DELETE as specified at the beginning of this topic.

415

If you receive a 415 error, make sure to add the “Content-Type” header to your request, which in most cases is “application/json”.