Set Messages Data
EVENThttps://call.domain.comwebhook
This endpoint accepts a batch of messages from the connected WhatsApp account. It's primarily used to sync and upload a collection of messages to ensure the system has the latest 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
instance object
data object[]
event string
Possible values: [messages.set
]
Responses
- 200
The API successfully processed the batch of messages and returned a status of 200, confirming successful receipt and synchronization.
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- CURL
curl -L -X GET 'https://call.domain.com' \
-H 'Content-Type: application/json'