Upsert Contacts Operations
EVENTwebhook
This endpoint allows the submission of a batch containing all the contacts from the connected WhatsApp account. It's designed to either insert new contacts or update existing ones, ensuring that the system remains synchronized with the latest contact data.
Request
Header Parameters
x-businessId stringrequired
Identificador do negócio
x-instanceId stringrequired
Identificador da instanceia
x-whatsappId stringrequired
Identificador do whatsapp conectado
- application/json
Body
- Array [
- ]
instance object
instanceId string
name string
state string
Possible values: [active
, inactive
]
connection string
Possible values: [refused
, close
, open
]
createdAt date-time
WhatsApp object
whatsappId string
remoteJid string
pictureUrl string
pushName string
createdAt date-time
Business object
businessId string
name string
data object[]
contactId string
pushName string
remoteJid string
pictureUrl string
createdAt date-time
event string
Possible values: [contacts.upsert
]
Responses
- 200
The API has successfully processed the provided contact data, returning a 200 status to acknowledge the successful receipt.
Loading...