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

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

History sync initiated.

message
string
required

Success message.

Example:

"History sync initiated"

sync
object
required

WhatsApp coexistence sync status.