Contoh tiap notifikasi
Contoh payload untuk pesan, tap, jawaban form, dan perubahan keanggotaan.
Catatan: Contoh JSON dan judul section di bawah memakai Bahasa Inggris (sama dengan wire API). Anchor link (
#they-tapped-a-button-or-list-row, dll.) sengaja tidak diterjemahkan.
Setiap notifikasi punya field event dan webhook_at (saat Kenalko POST ke server Anda). Notifikasi pesan juga punya created_at (saat pesan ditulis).
Chat memakai username. Grup punya group_id. Channel punya channel_id.
Untuk jenis bubble (text, file, button, …), lihat Jenis pesan di webhook.
Read receipt untuk pesan yang Anda kirim hanya di chat personal (message.ack.personal). Grup dan channel tidak mengirim event itu.
Someone messaged you
Chat:
{
"event": "message.received.personal",
"message_id": "01MSG000000000000002",
"message_type": "text",
"message": "Hello",
"created_at": "2026-08-23T06:01:00.000000000Z",
"sender": "alice_shop",
"source": "web",
"send_source": "web",
"webhook_at": "2026-08-23T06:01:00.000Z"
} source and send_source are the same: web, mobile, api, or flow (how that message was sent).
Group:
{
"event": "message.received.group",
"message_id": "01MSG000000000000002",
"message_type": "text",
"message": "Hello team",
"created_at": "2026-08-23T06:01:00.000000000Z",
"sender": "alice_shop",
"group_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"webhook_at": "2026-08-23T06:01:00.000Z"
} Channel:
{
"event": "message.received.channel",
"message_id": "01MSG000000000000002",
"message_type": "text",
"message": "Hello subscribers",
"created_at": "2026-08-23T06:01:00.000000000Z",
"sender": "alice_shop",
"channel_id": "01ARZ3NDEKTSV4RRFFQ69G5FB2",
"webhook_at": "2026-08-23T06:01:00.000Z"
} Files: see Message types and Download a file. View-once media stays in the app — you won’t get a notification.
Your send succeeded
Chat:
{
"event": "message.sent.personal",
"message_id": "01MSG000000000000003",
"message_type": "text",
"message": "Order confirmed",
"created_at": "2026-08-23T06:02:00.000000000Z",
"to": "alice_shop",
"source": "api",
"send_source": "api",
"webhook_at": "2026-08-23T06:02:00.000Z"
} Group:
{
"event": "message.sent.group",
"message_id": "01MSG000000000000003",
"message_type": "text",
"message": "Team update",
"created_at": "2026-08-23T06:02:00.000000000Z",
"group_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"webhook_at": "2026-08-23T06:02:00.000Z"
} Channel:
{
"event": "message.sent.channel",
"message_id": "01MSG000000000000003",
"message_type": "text",
"message": "Broadcast update",
"created_at": "2026-08-23T06:02:00.000000000Z",
"channel_id": "01ARZ3NDEKTSV4RRFFQ69G5FB2",
"webhook_at": "2026-08-23T06:02:00.000Z"
} Group and channel sends don’t include to.
They saw your message
Only in a personal chat. status is delivered or read. to is who saw it.
{
"event": "message.ack.personal",
"message_id": "01MSG000000000000003",
"status": "read",
"created_at": "2026-08-23T06:02:00.000000000Z",
"to": "alice_shop",
"webhook_at": "2026-08-23T06:05:00.000Z"
} They tapped a button or list row
Chat:
{
"event": "interactive.postback",
"type": "reply",
"message_id": "01MSG000000000000001",
"action_id": "yes",
"label": "Yes",
"name": "appt_confirm:tue10",
"write": true,
"sender": "alice_shop",
"webhook_at": "2026-08-23T06:00:00.000Z"
} Group:
{
"event": "interactive.postback",
"type": "reply",
"message_id": "01MSG000000000000001",
"action_id": "yes",
"label": "Yes",
"name": "appt_confirm:tue10",
"write": true,
"sender": "alice_shop",
"group_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"webhook_at": "2026-08-23T06:00:00.000Z"
} Channel:
{
"event": "interactive.postback",
"type": "reply",
"message_id": "01MSG000000000000001",
"action_id": "subscribe",
"label": "Subscribe",
"name": "newsletter_optin",
"write": false,
"sender": "alice_shop",
"channel_id": "01ARZ3NDEKTSV4RRFFQ69G5FB2",
"webhook_at": "2026-08-23T06:00:00.000Z"
} In a chat, there is no group_id or channel_id.
Someone voted on a poll
Subscribe to poll.vote. Fires on every successful vote in a conversation you are in — including your own vote when your integration account is the voter. The poll body itself arrives earlier on message.received.* or message.sent.* — see Message types — poll.
Each successful vote — including changing a vote when the poll is editable — sends another poll.vote with the voter’s current full selection. There is no separate “vote changed” event and no previous-selection field; treat each delivery as a snapshot keyed by message_id + sender.
Single choice (limit: 1):
{
"event": "poll.vote",
"message_id": "01MSG000000000000030",
"message_type": "poll",
"message": "Poll: Which time slot works for you?",
"question": "Which time slot works for you?",
"options": ["Morning", "Afternoon", "Evening"],
"selected_indices": [1],
"selected": ["Afternoon"],
"sender": "alice_shop",
"group_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"created_at": "2026-08-23T06:05:00.000000000Z",
"webhook_at": "2026-08-23T06:06:00.000Z"
} Multiple choice (limit > 1) — first pick indices 0 and 4, then change to 0 and 2:
- First webhook:
"selected_indices": [0, 4],"selected": ["Option A", "Option E"] - Re-vote webhook:
"selected_indices": [0, 2],"selected": ["Option A", "Option C"]
{
"event": "poll.vote",
"message_id": "01MSG000000000000031",
"message_type": "poll",
"message": "Poll: Pick all that apply",
"question": "Pick all that apply",
"options": ["Option A", "Option B", "Option C", "Option D", "Option E"],
"limit": 2,
"selected_indices": [0, 2],
"selected": ["Option A", "Option C"],
"sender": "alice_shop",
"group_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"created_at": "2026-08-23T06:05:30.000000000Z",
"webhook_at": "2026-08-23T06:07:00.000Z"
} The second JSON is what you receive after the voter changes their mind — not a diff from the first.
They submitted a form
Answers are in fields only — not as chat messages.
Chat:
{
"event": "interactive.submit",
"type": "submit",
"message_id": "01MSG…",
"form_id": "feedback_survey_v1",
"submission_id": "01SUBM…",
"name": "feedback_survey_v1",
"write": true,
"sender": "alice_shop",
"fields": {
"rating": "5",
"feedback_text": "Fast support!"
},
"webhook_at": "2026-08-27T10:17:15.000Z"
} Group:
{
"event": "interactive.submit",
"type": "submit",
"message_id": "01MSG…",
"form_id": "feedback_survey_v1",
"submission_id": "01SUBM…",
"name": "feedback_survey_v1",
"write": true,
"sender": "peer_username",
"group_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"fields": {
"rating": "5",
"feedback_text": "Fast support!"
},
"webhook_at": "2026-08-27T10:17:15.000Z"
} Channel:
{
"event": "interactive.submit",
"type": "submit",
"message_id": "01MSG…",
"form_id": "feedback_survey_v1",
"submission_id": "01SUBM…",
"name": "feedback_survey_v1",
"write": true,
"sender": "peer_username",
"channel_id": "01ARZ3NDEKTSV4RRFFQ69G5FB2",
"fields": {
"rating": "5",
"feedback_text": "Fast support!"
},
"webhook_at": "2026-08-27T10:17:15.000Z"
} Someone joined or left
Group:
{
"event": "member.joined",
"sender": "bob_crm",
"group_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"webhook_at": "2026-08-23T06:04:00.000Z"
} Channel:
{
"event": "member.joined",
"sender": "bob_crm",
"channel_id": "01ARZ3NDEKTSV4RRFFQ69G5FB2",
"webhook_at": "2026-08-23T06:04:00.000Z"
} member.left looks the same. sender is who joined or left.
If they don’t have a username yet, we skip the notification.