cURL
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": "[email protected]", "fromMe": true, "id": "BAE5EABBD912C4E2" }, "message": { "protocolMessage": { "key": { "remoteJid": "[email protected]", "fromMe": true, "id": "BAE52B567D0E3DD8" }, "type": "REVOKE" } }, "messageTimestamp": "1718108455", "status": "PENDING" }
Delete Message For Everyone
Your authorization key header
Name instance
Message ID
Chat contact or group remote JID
If the message was sent by the instance owner or the contact
Participant for group messages only TODO
Created
Schema representing a WhatsApp protocol message, including the key, message content, timestamp, and status.
The key that identifies the message in the chat.
Show child attributes
The remote JID (Jabber ID) of the WhatsApp account.
Indicates whether the message was sent by the user.
The ID of the message.
The content of the message.
Details of the protocol message.
The key that identifies the referenced message.
The remote JID (Jabber ID) of the WhatsApp account in the referenced message.
Indicates whether the referenced message was sent by the user.
The ID of the referenced message.
The type of protocol message, e.g., 'REVOKE'.
The timestamp of the message, represented as a string.
The status of the message, such as sent, received, or pending.