Chat Data Submission
EVENTwebhook
Submits a list containing all chat data gathered after QR code scanning. It's vital to monitor this event, as it's triggered multiple times following a QR code scan and concludes after data synchronization. ⚠️Caution⚠️: Ensure proper handling of the received data due to the frequency of this event's occurrence.
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[]
chatId string
remoteJid string
createdAt date-time
event string
Possible values: [chats.set
]
Responses
- 200
The API successfully processed the chat data. A 200 status is returned, confirming the proper receipt and processing of the submitted data.
Loading...