DELETE
/
chat
/
deleteMessageForEveryone
/
{instance}
curl --request DELETE \
  --url https://{server-url}/chat/deleteMessageForEveryone/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "id": "<string>",
  "remoteJid": "<string>",
  "fromMe": true,
  "participant": "<string>"
}'
{
  "key": {
    "remoteJid": "553198296801@s.whatsapp.com",
    "fromMe": true,
    "id": "BAE5EABBD912C4E2"
  },
  "message": {
    "protocolMessage": {
      "key": {
        "remoteJid": "553198296801@s.whatsapp.com",
        "fromMe": true,
        "id": "BAE52B567D0E3DD8"
      },
      "type": "REVOKE"
    }
  },
  "messageTimestamp": "1718108455",
  "status": "PENDING"
}

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json

Response

201 - application/json
Created

Schema representing a WhatsApp protocol message, including the key, message content, timestamp, and status.