DEL
Delete Chat
Delete a chat from your WhatsApp account (delete conversation).
API endpoint
https://api.waclient.com/delete_chatExample:
curl -X DELETE \
'https://api.waclient.com/delete_chat' \
-H 'Content-Type: application/json' \
--data '{
"chat_id": "[email protected]",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"chat_id": "[email protected]",
"deleted": true
}
}| Parameter | Description |
|---|---|
| chat_id | JID with @ — Phone: [email protected]. Group: 120363…@g.us. Channel: 120363…@newsletter. |
| instance_id | Your instance ID |
| access_token | Your access token |