Receiving Events
conversation.history
Recent WhatsApp history for one conversation was synced after bootstrap or reconnect.
Event payload
{
"id": "evt_wa_history_10001_8613912345678@s.whatsapp.net",
"type": "conversation.history",
"provider": "whatsapp",
"account_id": "acc_8c21d0",
"occurred_at": "2026-06-08T12:46:00Z",
"data": {
"conversation": { "id": "8613912345678@s.whatsapp.net", "type": "user" },
"messages": [
{
"id": "3EB0A1",
"type": "text",
"text": "Previous order question",
"direction": "inbound",
"sent_at": "2026-06-08T11:58:12Z",
"sender": { "id": "8613912345678@s.whatsapp.net" }
},
{
"id": "3EB0A2",
"type": "image",
"direction": "inbound",
"sent_at": "2026-06-08T11:59:20Z",
"sender": { "id": "8613912345678@s.whatsapp.net" },
"attachments": [
{
"type": "image",
"url": "https://unifyport-media.oss-cn-hongkong.aliyuncs.com/pro/1/whatsapp/10001/history.jpg?Expires=1749387560&Signature=...",
"mimetype": "image/jpeg"
}
]
}
]
}
}Notes
- A WhatsApp HistorySync batch for one conversation. data.conversation identifies the chat and data.messages[] contains recent messages in chronological order. Each message carries id, type, direction, sent_at, sender, text, and/or attachments.
- This is recent history for bootstrap and reconnect continuity, not a full archive. The service caps the number of conversations and messages per conversation; older media can be marked expired instead of carrying a url.