conversation.ended
Support conversation ended: a support conversation ended: by the customer, a person, or when it went quiet.
Topic:
conversation.ended, in theKaizena-Webhook-Topicheader and the body'stopicSent to: Your own endpoints, and apps
About: the
conversation, underdata.conversationPayload version: 1
Payload
| Field | Type | Description |
|---|---|---|
id | string (uuid) | The delivery's id: the same when a delivery is sent again, so a receiver can do it once. |
topic | "conversation.ended" | |
version | 1 | The payload's version; a change to a shape raises it. |
store | object | |
store.slug | string | |
store.name | string | |
created_at | string (date-time) | When the event happened. |
data | object | |
data.conversation | object | |
data.conversation.id | string (uuid) | |
data.conversation.source | one of site, email, form | The site's chat, an email to the desk, or the site's email form. |
data.conversation.status | one of open, ended | |
data.conversation.handler | one of ai, queue, human | Who had it last: the AI, the queue for a person, or a person. |
data.conversation.ended_by | one of customer, agent, timeout, system or null | |
data.conversation.rating | one of good, bad or null | The customer's rating. Never the comment they wrote. |
data.conversation.escalation | string or null | Why a person had to answer, as the AI named it when it handed over. |
data.conversation.customer_id | string (uuid) or null | The signed-in customer, when there was one. |
data.conversation.market | string or null | |
data.conversation.locale | string | |
data.conversation.messages | integer | How many messages it holds. |
data.conversation.created_at | string (date-time) | |
data.conversation.first_answer_at | string (date-time) or null | When a person first answered. |
data.conversation.ended_at | string (date-time) or null | |
data.conversation.admin_url | string | Where it is in the store's admin; empty in a sample. |
Example
{
"id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
"topic": "conversation.ended",
"version": 1,
"store": {
"slug": "your-store",
"name": "Example"
},
"created_at": "2026-11-03T09:30:00Z",
"data": {
"conversation": {
"id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
"source": "site",
"status": "ended",
"handler": "ai",
"ended_by": "customer",
"rating": "good",
"escalation": "example",
"customer_id": "0af2dcd1-60e1-45c6-9774-425ae857a555",
"market": "NO",
"locale": "nb",
"messages": 1,
"created_at": "2026-11-03T09:30:00Z",
"first_answer_at": "2026-11-03T09:30:00Z",
"ended_at": "2026-11-03T09:30:00Z",
"admin_url": "https://kaizenaflow.com/admin/your-store"
}
}
}Every value is an example of its type, not a real store's.
Signature and retries
Each delivery carries the headers every topic has and is signed: check the signature before you trust it. One not answered with a 2xx status is tried again.