API Reference
Receiving Events

account.history.synced

A WhatsApp history-sync batch finished; data.summary gives the delivered conversation and message counts.

Event payload

{
  "id": "evt_wa_history_synced_10001",
  "type": "account.history.synced",
  "provider": "whatsapp",
  "account_id": "acc_8c21d0",
  "occurred_at": "2026-06-08T13:22:00Z",
  "data": {
    "summary": {
      "conversations": 12,
      "messages": 184
    }
  }
}

Notes

  • The trailer event for a WhatsApp HistorySync batch. data.summary.conversations is the number of conversation.history events emitted; data.summary.messages is the total number of message objects delivered across them.
  • The trailer is scoped to one parser batch/chunk. If WhatsApp sends multiple HistorySync chunks, you can receive multiple account.history.synced events and should merge by conversation id and message id.