Delete Contact

Supported & Tested

Delete a saved contact from the connected WhatsApp account.

POSThttps://api.waplix.io/api/v1/contacts/delete
Authentication
Authorization: Bearer YOUR_API_KEY
Parameters Specification
instance_id
stringReq

Required Waplix instance id

contact_id
stringReq

Required phone number or contact id

Usage Notes
Deletes a saved contact from the connected WhatsApp account. Does not delete chat history.
Request Payload Example
Request
curl -X POST "https://api.waplix.io/api/v1/api/v1/contacts/delete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "instance_id": "demo_instance",
  "contact_id": "15551234567"
}'
Success Response
Response · 200 OK
{
  "success": true,
  "data": {
    "instance_id": "demo_instance",
    "contact_id": "15551234567",
    "jid": "15551234567@s.whatsapp.net",
    "status": "deleted"
  }
}
Was this page helpful?