POST
Edit Contact
Update an existing contact in your WhatsApp address book.
API endpoint
https://waclient.com/api/edit_contactExample:
curl -X POST \
'https://waclient.com/api/edit_contact' \
-H 'Content-Type: application/json' \
--data '{
"contact_id": "20100981XXXX",
"full_name": "Mohamed Ali Updated",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"contact_id": "[email protected]",
"updated": true
}
}| Parameter | Description |
|---|---|
| contact_id / number | Phone number or JID |
| full_name / first_name | New display name |
| save_to_phone | Save to phone address book (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |