Chat Controller
Delete Message for Everyone
Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Typebot
OpenAI
Evolution Bot
Dify
Flowise
Chatwoot
Websocket
RabbitMQ
Chat Controller
Delete Message for Everyone
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
Your authorization key header
Path Parameters
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.
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"
}