Delete a message for everyone in a chat.
curl --request DELETE \
--url https://api.example.com/chat/deleteMessageForEveryone/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"id": "3EB0123456789ABCDEF",
"remoteJid": "5511999999999@s.whatsapp.net",
"fromMe": true
}'
{
"deleted": true,
"messageId": "3EB0123456789ABCDEF"
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/EvolutionAPI/evolution-api/llms.txt
Use this file to discover all available pages before exploring further.
apikey header.
true for messages you sent, false for received messages.curl --request DELETE \
--url https://api.example.com/chat/deleteMessageForEveryone/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"id": "3EB0123456789ABCDEF",
"remoteJid": "5511999999999@s.whatsapp.net",
"fromMe": true
}'
{
"deleted": true,
"messageId": "3EB0123456789ABCDEF"
}
fromMe: true). Attempting to delete messages sent by others will fail.participant field to specify who sent the message.curl --request DELETE \
--url https://api.example.com/chat/deleteMessageForEveryone/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"id": "3EB0123456789ABCDEF",
"remoteJid": "5511999999999@s.whatsapp.net",
"fromMe": true
}'
{
"deleted": true,
"messageId": "3EB0123456789ABCDEF"
}