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"
}
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"
}
Your authorization key header
Name instance
Created
Schema representing a WhatsApp protocol message, including the key, message content, timestamp, and status.