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

Authorizations

apikey
string
header
required

Seu cabeçalho da chave de autorização.

Path Parameters

instance
string
required

ID da instância.

Body

application/json

Response

201 - application/json

Created

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