Skip to main content
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
eventId
string
required

Unique event identifier

instanceId
string
required

The ID of the WhatsApp instance that generated the event

receivedAt
string<date-time>
required

The timestamp when the event was received

eventType
enum<string>
required

The type of event

Available options:
message_history_sync
eventData
object
required

Response

200

Return a 200 status to indicate that the data was received successfully