WA Client
DEL

Delete Message

Delete a message for everyone in the chat.

API endpoint
https://waclient.com/api/delete_message
Example:
curl -X DELETE \
  'https://waclient.com/api/delete_message' \
  -H 'Content-Type: application/json' \
  --data '{
    "chat_id": "20100981XXXX",
    "message_id": "ABC123",
    "from_me": true,
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "chat_id": "[email protected]",
        "message_id": "ABC123",
        "deleted": true
    }
}
ParameterDescription
chat_idChat JID or phone number
message_idMessage ID
from_meUsually true for your messages
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc