{
"eventId": "evt_7890123456789012",
"instanceId": "ins_ABCdefGHIjk",
"receivedAt": "2025-05-19T00:51:44.816Z",
"eventType": "message_history_sync",
"eventData": {
"chatId": "1234567890@s.whatsapp.net",
"messages": [
{
"id": "0123456789012345",
"time": "2025-05-19T00:51:44.816Z",
"chatId": "1234567890@s.whatsapp.net",
"sender": {
"id": "1234567890@s.whatsapp.net",
"lid": "12345678901234@lid",
"phone": "1234567890",
"isMe": false
},
"isGroup": false,
"isStatus": false,
"type": "text",
"text": "Hello, world!"
}
]
}
}Messages
Message history sync event
Event sent for on-demand history sync requests, containing messages for the requested chat.
WEBHOOK
message_history_sync
{
"eventId": "evt_7890123456789012",
"instanceId": "ins_ABCdefGHIjk",
"receivedAt": "2025-05-19T00:51:44.816Z",
"eventType": "message_history_sync",
"eventData": {
"chatId": "1234567890@s.whatsapp.net",
"messages": [
{
"id": "0123456789012345",
"time": "2025-05-19T00:51:44.816Z",
"chatId": "1234567890@s.whatsapp.net",
"sender": {
"id": "1234567890@s.whatsapp.net",
"lid": "12345678901234@lid",
"phone": "1234567890",
"isMe": false
},
"isGroup": false,
"isStatus": false,
"type": "text",
"text": "Hello, world!"
}
]
}
}Body
application/json
Unique event identifier
The ID of the WhatsApp instance that generated the event
The timestamp when the event was received
The type of event
Available options:
message_history_sync Show child attributes
Show child attributes
Response
200
Return a 200 status to indicate that the data was received successfully
⌘I