Add and Update Contact
Supported & TestedSave or update a WhatsApp contact name through the public Waplix Contacts API.
POSThttps://api.waplix.io/api/v1/contacts/upsert
Authentication
Authorization: Bearer YOUR_API_KEY Parameters Specification
| Parameter | Type | Required | Description |
|---|---|---|---|
| instance_id | string | Required | Required Waplix instance id |
| number | string | Required | Required phone number |
| name | string | Required | Required display name to save |
instance_id
stringReq Required Waplix instance id
number
stringReq Required phone number
name
stringReq Required display name to save
Usage Notes
Verified on production instance 29854.
Request Payload Example
Request
curl -X POST "https://api.waplix.io/api/v1/api/v1/contacts/upsert" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"instance_id": "demo_instance",
"number": "15551234567",
"name": "John Doe"
}'Success Response
Response · 200 OK
{
"success": true,
"data": {
"instance_id": "demo_instance",
"number": "15551234567",
"name": "John Doe",
"jid": "15551234567@s.whatsapp.net",
"contact_id": "15551234567@s.whatsapp.net",
"status": "saved"
}
} Was this page helpful?