Skip to main content
POST
/
v1
/
senders
/
{senderId}
/
whatsapp-sync
/
contacts
Start contacts sync
curl --request POST \
  --url https://api.zavu.dev/v1/senders/{senderId}/whatsapp-sync/contacts \
  --header 'Authorization: Bearer <token>'
{
"message": "Contacts sync initiated",
"sync": {
"isCoexistence": true,
"status": "active",
"history": {
"status": "completed",
"canSync": false,
"requestedAt": "2024-01-15T10:00:00Z",
"completedAt": "2024-01-15T10:05:00Z"
},
"contacts": {
"status": "pending",
"canSync": false,
"requestedAt": "2024-01-15T11:00:00Z"
}
}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

senderId
string
required

Response

Contacts sync initiated.

message
string
required

Success message.

Example:

"History sync initiated"

sync
object
required

WhatsApp coexistence sync status.