Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.
Intellixent sends a POST request to your configured webhook URL when a chat conversation ends — whether via WhatsApp or your web widget. The payload includes the full transcript, extracted variables, and customer details.
Setup
Enable this webhook using the API:
POST https://portal.intellixent.ai/api/assistants/{assistantId}/enable-conversation-ended-webhookAuthorization: Bearer YOUR_API_KEYContent-Type: application/json{ "webhook_url": "https://your-server.com/webhook/conversation-ended"}
To disable it:
POST https://portal.intellixent.ai/api/assistants/{assistantId}/disable-conversation-ended-webhookAuthorization: Bearer YOUR_API_KEY
Retry behavior
If your endpoint returns a non-2xx status, Intellixent retries automatically:
Attempt
Delay
1st retry
30 seconds
2nd retry
60 seconds
3rd retry
120 seconds
After 3 failed attempts, the delivery is marked as failed.
Payload fields
string
UUID of the conversation.
string
UUID of the assistant that handled the conversation.
string
Conversation channel: widget or whatsapp.
integer
Total number of messages exchanged.
string
Always ended for this webhook.
object
Variables extracted by the AI from your post-call schema configuration.
Show Example fields
boolean
Whether the objective was achieved.
string
Short conversation summary.
object
Variables passed to the assistant at conversation start (e.g., pre-chat form fields).
array
Array of message objects with role (assistant or user) and content fields.
string
Human-readable transcript with AI: and Customer: prefixes.
string
Customer phone number. Available for WhatsApp; null for widget.
string
Customer name from pre-chat form data, or null.
object
WhatsApp sender info. Only present for WhatsApp conversations; null for widget.
Show Sender fields
string
WhatsApp sender phone number.
string
WhatsApp sender display name.
string
ISO 8601 timestamp when the conversation started.
string
ISO 8601 timestamp when the conversation ended.
Example payloads
Web Widget
WhatsApp
{ "conversation_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "assistant_id": "f9e8d7c6-b5a4-3210-fedc-ba9876543210", "type": "widget", "message_count": 8, "status": "ended", "extracted_variables": { "status": true, "summary": "Customer asked about pricing and was interested in the Pro plan" }, "input_variables": { "name": "John Doe", "email": "john@example.com" }, "transcript": [ { "role": "assistant", "content": "Hi! How can I help you today?" }, { "role": "user", "content": "What are your pricing plans?" } ], "formatted_transcript": "AI: Hi! How can I help you today?\nCustomer: What are your pricing plans?", "customer_phone": null, "customer_name": "John Doe", "sender": null, "created_at": "2026-02-23T09:30:00+01:00", "ended_at": "2026-02-23T10:00:00+01:00"}
{ "conversation_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "assistant_id": "f9e8d7c6-b5a4-3210-fedc-ba9876543210", "type": "whatsapp", "message_count": 12, "status": "ended", "extracted_variables": { "status": true, "summary": "Customer scheduled an appointment for next week" }, "input_variables": {}, "transcript": [ { "role": "user", "content": "Hello, I'd like to book an appointment" }, { "role": "assistant", "content": "Happy to help! What date works for you?" } ], "formatted_transcript": "Customer: Hello, I'd like to book an appointment\nAI: Happy to help! What date works for you?", "customer_phone": "+1234567890", "customer_name": null, "sender": { "phone_number": "+19876543210", "display_name": "My Business" }, "created_at": "2026-02-23T14:00:00+01:00", "ended_at": "2026-02-23T14:25:00+01:00"}
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/schema.json","name":"Intellixent","colors":{"primary":"#3B82F6","light":"#3B82F6","dark":"#60A5FA"},"api":{},"navbar":{"primary":{"type":"github","href":"https://github.com/hamzazahi/intellixent.ai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"intellixentai-eeb4f80b","hasAudioNarration":false,"actualSubdomain":"intellixentai-eeb4f80b","customDomains":["docs.intellixent.ai"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-intellixentai-eeb4f80b-7812be4d","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae953f8dbcba01b9ab496a7:success","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"Platform Guide","count":43},{"language":"default","tag":"API Reference","count":36},{"language":"default","tag":"AI Assistants","count":10},{"language":"default","tag":"Automation","count":9},{"language":"default","tag":"Campaigns \u0026 Leads","count":7},{"language":"default","tag":"Calls \u0026 Campaigns","count":7},{"language":"default","tag":"No-Code Automation","count":6},{"language":"default","tag":"Get Started","count":6},{"language":"default","tag":"Channels","count":6},{"language":"default","tag":"Knowledge \u0026 Tools","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/webhooks/conversation-ended-webhook","slug":"/api-reference/webhooks/conversation-ended-webhook","pageMetadata":{"title":"Conversation Ended Webhook","description":"Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.","href":"/api-reference/webhooks/conversation-ended-webhook"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ResponseField,Tab,Table,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Intellixent sends a POST request to your configured webhook URL when a chat conversation ends — whether via WhatsApp or your web widget. The payload includes the full transcript, extracted variables, and customer details.`}),`\n`,_jsx(Heading,{level:`2`,id:`setup`,children:`Setup`}),`\n`,_jsx(_components.p,{children:`Enable this webhook using the API:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://portal.intellixent.ai/api/assistants/{assistantId}/enable-conversation-ended-webhook`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Content-Type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` \"webhook_url\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://your-server.com/webhook/conversation-ended\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`To disable it:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://portal.intellixent.ai/api/assistants/{assistantId}/disable-conversation-ended-webhook`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_API_KEY`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`retry-behavior`,children:`Retry behavior`}),`\n`,_jsx(_components.p,{children:`If your endpoint returns a non-2xx status, Intellixent retries automatically:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Attempt`}),_jsx(_components.th,{children:`Delay`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`1st retry`}),_jsx(_components.td,{children:`30 seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`2nd retry`}),_jsx(_components.td,{children:`60 seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`3rd retry`}),_jsx(_components.td,{children:`120 seconds`})]})]})]}),`\n`,_jsx(_components.p,{children:`After 3 failed attempts, the delivery is marked as failed.`}),`\n`,_jsx(Heading,{level:`2`,id:`payload-fields`,children:`Payload fields`}),`\n`,_jsx(ResponseField,{name:`conversation_id`,type:`string`,id:`param-conversation-id`,children:_jsx(_components.p,{children:`UUID of the conversation.`})}),`\n`,_jsx(ResponseField,{name:`assistant_id`,type:`string`,id:`param-assistant-id`,children:_jsx(_components.p,{children:`UUID of the assistant that handled the conversation.`})}),`\n`,_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Conversation channel: `,_jsx(_components.code,{children:`widget`}),` or `,_jsx(_components.code,{children:`whatsapp`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`message_count`,type:`integer`,id:`param-message-count`,children:_jsx(_components.p,{children:`Total number of messages exchanged.`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`ended`}),` for this webhook.`]})}),`\n`,_jsxs(ResponseField,{name:`extracted_variables`,type:`object`,id:`param-extracted-variables`,children:[_jsx(_components.p,{children:`Variables extracted by the AI from your post-call schema configuration.`}),_jsxs(Expandable,{title:`Example fields`,children:[_jsx(ResponseField,{name:`status`,type:`boolean`,id:`param-status-1`,children:`Whether the objective was achieved.`}),_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary`,children:`Short conversation summary.`})]})]}),`\n`,_jsx(ResponseField,{name:`input_variables`,type:`object`,id:`param-input-variables`,children:_jsx(_components.p,{children:`Variables passed to the assistant at conversation start (e.g., pre-chat form fields).`})}),`\n`,_jsx(ResponseField,{name:`transcript`,type:`array`,id:`param-transcript`,children:_jsxs(_components.p,{children:[`Array of message objects with `,_jsx(_components.code,{children:`role`}),` (`,_jsx(_components.code,{children:`assistant`}),` or `,_jsx(_components.code,{children:`user`}),`) and `,_jsx(_components.code,{children:`content`}),` fields.`]})}),`\n`,_jsx(ResponseField,{name:`formatted_transcript`,type:`string`,id:`param-formatted-transcript`,children:_jsxs(_components.p,{children:[`Human-readable transcript with `,_jsx(_components.code,{children:`AI:`}),` and `,_jsx(_components.code,{children:`Customer:`}),` prefixes.`]})}),`\n`,_jsx(ResponseField,{name:`customer_phone`,type:`string`,id:`param-customer-phone`,children:_jsxs(_components.p,{children:[`Customer phone number. Available for WhatsApp; `,_jsx(_components.code,{children:`null`}),` for widget.`]})}),`\n`,_jsx(ResponseField,{name:`customer_name`,type:`string`,id:`param-customer-name`,children:_jsxs(_components.p,{children:[`Customer name from pre-chat form data, or `,_jsx(_components.code,{children:`null`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`sender`,type:`object`,id:`param-sender`,children:[_jsxs(_components.p,{children:[`WhatsApp sender info. Only present for WhatsApp conversations; `,_jsx(_components.code,{children:`null`}),` for widget.`]}),_jsxs(Expandable,{title:`Sender fields`,children:[_jsx(ResponseField,{name:`phone_number`,type:`string`,id:`param-phone-number`,children:`WhatsApp sender phone number.`}),_jsx(ResponseField,{name:`display_name`,type:`string`,id:`param-display-name`,children:`WhatsApp sender display name.`})]})]}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the conversation started.`})}),`\n`,_jsx(ResponseField,{name:`ended_at`,type:`string`,id:`param-ended-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the conversation ended.`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-payloads`,children:`Example payloads`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Web Widget`,id:`web-widget`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assistant_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"f9e8d7c6-b5a4-3210-fedc-ba9876543210\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"widget\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ended\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"extracted_variables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer asked about pricing and was interested in the Pro plan\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_variables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"john@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transcript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi! How can I help you today?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"What are your pricing plans?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"formatted_transcript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AI: Hi! How can I help you today?`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Customer: What are your pricing plans?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer_phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-23T09:30:00+01:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ended_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-23T10:00:00+01:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`WhatsApp`,id:`whatsapp`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b2c3d4e5-f6a7-8901-bcde-f12345678901\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assistant_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"f9e8d7c6-b5a4-3210-fedc-ba9876543210\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"whatsapp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ended\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"extracted_variables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer scheduled an appointment for next week\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_variables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transcript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello, I'd like to book an appointment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Happy to help! What date works for you?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"formatted_transcript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer: Hello, I'd like to book an appointment`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`AI: Happy to help! What date works for you?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer_phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phone_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+19876543210\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My Business\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-23T14:00:00+01:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ended_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-23T14:25:00+01:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Conversation Ended Webhook","description":"Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.","href":"/api-reference/webhooks/conversation-ended-webhook"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Setup","slug":"setup","depth":2,"children":[]},{"title":"Retry behavior","slug":"retry-behavior","depth":2,"children":[]},{"title":"Payload fields","slug":"payload-fields","depth":2,"children":[]},{"title":"Example payloads","slug":"example-payloads","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"intellixentai-eeb4f80b","siteName":"Intellixent","title":"Conversation Ended Webhook - Intellixent","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-02T18:08:50.729Z","originalFileLocation":"api-reference/webhooks/conversation-ended-webhook.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Intellixent\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/intellixentai-eeb4f80b/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/intellixentai-eeb4f80b/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/intellixentai-eeb4f80b/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/intellixentai-eeb4f80b/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Conversation Ended Webhook - Intellixent\">\u003cmeta data-mint-head property=\"og:description\" content=\"Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Intellixent\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://intellixentai-eeb4f80b.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Conversation+Ended+Webhook\u0026amp;description=Receive+chat+conversation+data+and+extracted+variables+when+a+WhatsApp+or+web+widget+conversation+ends.\u0026amp;theme=6d753b5935bba25e1786a2d3\u0026amp;signature=236cdeb9258a98a644f4536bff53d6698071332237b123fa5665321b2e8c2a28\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Conversation Ended Webhook - Intellixent\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://intellixentai-eeb4f80b.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Conversation+Ended+Webhook\u0026amp;description=Receive+chat+conversation+data+and+extracted+variables+when+a+WhatsApp+or+web+widget+conversation+ends.\u0026amp;theme=6d753b5935bba25e1786a2d3\u0026amp;signature=236cdeb9258a98a644f4536bff53d6698071332237b123fa5665321b2e8c2a28\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/intellixentai-eeb4f80b/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Intellixent\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3B82F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/webhooks/conversation-ended-webhook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.intellixent.ai/#organization\",\"name\":\"Intellixent\",\"url\":\"https://docs.intellixent.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.intellixent.ai#website\",\"name\":\"Intellixent\",\"url\":\"https://docs.intellixent.ai\",\"publisher\":{\"@id\":\"https://docs.intellixent.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook#webpage\",\"url\":\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook\",\"name\":\"Conversation Ended Webhook\",\"description\":\"Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.\",\"dateModified\":\"2026-04-02T18:08:50.729Z\",\"isPartOf\":{\"@id\":\"https://docs.intellixent.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://docs.intellixent.ai/api-reference/webhooks/post-call-webhook\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Conversation Ended Webhook\",\"item\":\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook#article\",\"headline\":\"Conversation Ended Webhook\",\"name\":\"Conversation Ended Webhook\",\"description\":\"Receive chat conversation data and extracted variables when a WhatsApp or web widget conversation ends.\",\"url\":\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook\",\"mainEntityOfPage\":{\"@id\":\"https://docs.intellixent.ai/api-reference/webhooks/conversation-ended-webhook#webpage\"},\"dateModified\":\"2026-04-02T18:08:50.729Z\",\"publisher\":{\"@id\":\"https://docs.intellixent.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.intellixent.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Intellixent\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Intellixent\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/webhooks/conversation-ended-webhook.md","siteName":"Intellixent","nav":{"global":null,"tabs":[{"tab":"Platform Guide","pages":[{"title":"Platform Guide","href":"/introduction"}]},{"tab":"Automation","pages":[{"title":"Automation","href":"/automation-platform/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"book-open","href":"/api-reference/introduction"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"}]},{"group":"Assistants","pages":[{"title":"List assistants","href":"/api-reference/assistants/get-assistants"},{"title":"Create assistant","href":"/api-reference/assistants/create-assistant"},{"title":"Update assistant","href":"/api-reference/assistants/update-assistant"},{"title":"Delete assistant","href":"/api-reference/assistants/delete-assistant"}]},{"group":"Calls","pages":[{"title":"List calls","href":"/api-reference/calls/get-calls"},{"title":"Make a call","href":"/api-reference/calls/make-phone-call"},{"title":"Get call","href":"/api-reference/calls/get-call"},{"title":"Delete call","href":"/api-reference/calls/delete-call"}]},{"group":"Campaigns \u0026 Leads","pages":[{"title":"List campaigns","href":"/api-reference/campaigns/get-campaigns"},{"title":"Create campaign","href":"/api-reference/campaigns/create-campaign"},{"title":"Update status","href":"/api-reference/campaigns/update-status"},{"title":"Create lead","href":"/api-reference/leads/create"},{"title":"List leads","href":"/api-reference/leads/get-lead"},{"title":"Update lead","href":"/api-reference/leads/update-lead"},{"title":"Delete lead","href":"/api-reference/leads/delete"}]},{"group":"Conversations","pages":[{"title":"List conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Create conversation","href":"/api-reference/conversations/create-conversation"},{"title":"Send message","href":"/api-reference/conversations/send-message"},{"title":"Generate reply","href":"/api-reference/ai/generate-reply"}]},{"group":"Messaging","pages":[{"title":"Send SMS","href":"/api-reference/sms/send-sms"},{"title":"Get senders","href":"/api-reference/whatsapp/get-senders"},{"title":"Send template","href":"/api-reference/whatsapp/send-template"},{"title":"Send freeform","href":"/api-reference/whatsapp/send-freeform"}]},{"group":"Phone Numbers","pages":[{"title":"Get phone numbers","href":"/api-reference/phone-numbers/get-phone-numbers"},{"title":"Search numbers","href":"/api-reference/phone-numbers/search-phone-numbers"},{"title":"Purchase number","href":"/api-reference/phone-numbers/purchase-phone-number"},{"title":"Release number","href":"/api-reference/phone-numbers/release-phone-number"}]},{"group":"Knowledge \u0026 Tools","pages":[{"title":"List knowledge bases","href":"/api-reference/knowledgebases/get-knowledgebases"},{"title":"Create knowledge base","href":"/api-reference/knowledgebases/create-knowledgebase"},{"title":"Create document","href":"/api-reference/knowledgebases/create-document"},{"title":"List tools","href":"/api-reference/mid-call-tools/get-tools"},{"title":"Create tool","href":"/api-reference/mid-call-tools/create-tool"}]},{"group":"Webhooks","pages":[{"title":"Post-Call Webhook","description":"Receive call data, transcripts, and extracted variables after each call completes.","href":"/api-reference/webhooks/post-call-webhook"},{"title":"Conversation Ended Webhook","href":"/api-reference/webhooks/conversation-ended-webhook"}]}]}]},"basePath":"","title":"Conversation Ended Webhook - Intellixent","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":[],"chunks":[]}