call.ended, call.summary and the live call signals, field by field.
There are two kinds of call webhooks:
call.ended and call.summary are for logging calls: who called, how long it lasted, who answered, and what the AI understood. They cover every WhatsApp call on every number, whether the AI voice agent, your team or your own system answered.
call carries live signals for numbers whose calls your own system answers through the Call API. Only use it if you built your own calling app.
call.ended
Sent once per call, when it ends, is missed or is rejected.
Sent when the AI voice agent has summarised a call it took, usually within a minute of call.ended. data has exactly the same fields as call.ended, with summary filled in:
{ "event": "call.summary", "data": { "id": "6740b3a1e4b0a1b2c3d4e7a0", "contact": "919876543210", "status": "END", "handledBy": "ai", "durationSeconds": 95, "summary": "Priya runs 3 salons in Pune and wants WhatsApp reminders. Asked for pricing for 3 users; agreed to a demo Friday 11 am.", "recording": "/api/pub/wa/call/6740b3a1e4b0a1b2c3d4e7a0/recording" }}
Match it to the earlier call.ended by id and update the same call record. Calls your team or your own system answered don’t get a summary.
Want the full conversation? Get a Call returns the transcript, line by line, for calls the AI took.
call (live signals)
Only for WhatsApp numbers set to API calling, where your own app answers calls through the Call API. AdsEra forwards WhatsApp’s call signals so your app can connect the audio.
Unlike every other event, live signals are not wrapped in { event, data }. The body is the signal itself, and its own event field says which one it is. Their call.ended is a live signal; it’s not the same as the call.ended logging event above, which comes wrapped in data.
The customer answered your outbound call. session holds their SDP answer.
Apply it to your connection.
call.status
Ringing, connected or rejected. status is CONNECTING, CONNECTED or REJECTED.
Update your UI.
call.ended
The call ended.
Close the connection.
timestamp here is in milliseconds since 1970, as a string. Only your secret is sent with these signals, in the x-secret header; Basic, Bearer and custom-header authentication don’t apply to them.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AdsEra Knowledge Base","colors":{"primary":"#0A8DEE","light":"#0A8DEE","dark":"#0A8DEE"},"logo":{"light":"https://mintcdn.com/adsera/8T-9M2Mq9-WTK-nT/logo/light.svg?fit=max\u0026auto=format\u0026n=8T-9M2Mq9-WTK-nT\u0026q=85\u0026s=ad1c41e9d3687ba296e49ca375c9671f","dark":"https://mintcdn.com/adsera/8T-9M2Mq9-WTK-nT/logo/dark.svg?fit=max\u0026auto=format\u0026n=8T-9M2Mq9-WTK-nT\u0026q=85\u0026s=23e9c55dc9c8cd6adaae81f3b21f5f3e"},"favicon":"https://mintcdn.com/adsera/y6PRMmKAmdfKAfJC/favicon.svg?fit=max\u0026auto=format\u0026n=y6PRMmKAmdfKAfJC\u0026q=85\u0026s=cf0ac618c83fae32b17d22ee89a017a4","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.adsera.in"}},"footer":{"socials":{"x":"https://x.com/adsera_in","facebook":"https://www.facebook.com/adsera.in","instagram":"https://www.instagram.com/adsera.in","linkedin":"https://www.linkedin.com/company/adsera-it-services"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Feedback","icon":"book-open-cover","href":"https://adsera.featurebase.app"},{"anchor":"Blog","icon":"newspaper","href":"https://adsera.in/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"adsera","hasAudioNarration":false,"actualSubdomain":"adsera","customDomains":["docs.adsera.in"],"gitSource":{"type":"github","owner":"swagisays","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{},"buildId":"6b0009fd89d041245afd9972","clientVersion":"0.0.4248","searchFilterCounts":[{"language":"default","tag":"Help Center","count":68},{"language":"default","tag":"API reference","count":58},{"language":"default","tag":"Integrations","count":15},{"language":"default","tag":"CRM: Contacts","count":10},{"language":"default","tag":"Audience","count":9},{"language":"default","tag":"Legacy","count":8},{"language":"default","tag":"Call","count":7},{"language":"default","tag":"AI Agent (Addy)","count":6},{"language":"default","tag":"Account Center","count":6},{"language":"default","tag":"CRM: Deals","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/webhooks/calls","slug":"/api-reference/webhooks/calls","pageMetadata":{"title":"Call events","description":"call.ended, call.summary and the live call signals, field by field.","href":"/api-reference/webhooks/calls"},"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: \"call.ended, call.summary and the live call signals, field by field.\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`There are two kinds of call webhooks:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`call.ended`}),` and `,_jsx(_components.code,{children:`call.summary`})]}),` are for logging calls: who called, how long it lasted, who answered, and what the AI understood. They cover every WhatsApp call on every number, whether the AI voice agent, your team or your own system answered.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`call`})}),` carries live signals for numbers whose calls your `,_jsx(_components.strong,{children:`own system`}),` answers through the `,_jsx(_components.a,{href:`/api-reference/call/connect`,children:`Call API`}),`. Only use it if you built your own calling app.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`call-ended`,children:`call.ended`}),`\n`,_jsx(_components.p,{children:`Sent once per call, when it ends, is missed or is rejected.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,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:`20`,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:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call.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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-20T11:03:46.300Z\"`}),_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:` \"data\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6740b3a1e4b0a1b2c3d4e7a0\"`}),_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:` \"callId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wacid.HBgMOTE5ODc2NTQzMjEwFQIAEhggN…\"`}),_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:` \"whatsapp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68a06be5ea4b520115654c7\"`}),_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:` \"contact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"919876543210\"`}),_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:` \"contactId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6740a0f2e4b0a1b2c3d4e5a1\"`}),_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:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inbound\"`}),_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:`\"END\"`}),_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:` \"handledBy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ai\"`}),_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:` \"startedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-20T11:02:10.000Z\"`}),_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:` \"endedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-20T11:03:45.000Z\"`}),_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:` \"durationSeconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`95`}),_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:`#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:` \"recording\"`}),_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:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-20T11:02:04.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`AdsEra’s id for the call. Use it with `,_jsx(_components.a,{href:`/api-reference/call/get`,children:`Get a Call`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`callId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`WhatsApp’s call id.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whatsapp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`AdsEra’s id for your WhatsApp number.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contact`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`The customer’s phone, for example `,_jsx(_components.code,{children:`919876543210`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contactId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`AdsEra’s id for the contact.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`direction`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`inbound`}),` (the customer called you) or `,_jsx(_components.code,{children:`outbound`}),` (you called them).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`END`}),` (they talked), `,_jsx(_components.code,{children:`MISSED`}),` (nobody answered, or the call failed) or `,_jsx(_components.code,{children:`REJECTED`}),` (declined).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`handledBy`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ai`}),` (the AI voice agent), `,_jsx(_components.code,{children:`team`}),` (someone in AdsEra) or `,_jsx(_components.code,{children:`api`}),` (your own system).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`startedAt`})}),_jsx(_components.td,{children:`date | null`}),_jsxs(_components.td,{children:[`When the call was answered. `,_jsx(_components.code,{children:`null`}),` for missed and rejected calls.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`endedAt`})}),_jsx(_components.td,{children:`date | null`}),_jsx(_components.td,{children:`When it ended.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`durationSeconds`})}),_jsx(_components.td,{children:`number`}),_jsxs(_components.td,{children:[`Talk time in seconds. `,_jsx(_components.code,{children:`0`}),` for missed calls.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`summary`})}),_jsx(_components.td,{children:`string | null`}),_jsxs(_components.td,{children:[`Usually `,_jsx(_components.code,{children:`null`}),` here. The AI’s summary follows in `,_jsx(_components.code,{children:`call.summary`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recording`})}),_jsx(_components.td,{children:`string | null`}),_jsxs(_components.td,{children:[`Usually `,_jsx(_components.code,{children:`null`}),` here: recordings are saved a few seconds after the call. Get it with `,_jsx(_components.a,{href:`/api-reference/call/get`,children:`Get a Call`}),`, then `,_jsx(_components.a,{href:`/api-reference/call/recording`,children:`Download a Call Recording`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`call-summary`,children:`call.summary`}),`\n`,_jsxs(_components.p,{children:[`Sent when the AI voice agent has summarised a call it took, usually within a minute of `,_jsx(_components.code,{children:`call.ended`}),`. `,_jsx(_components.code,{children:`data`}),` has exactly the same fields as `,_jsx(_components.code,{children:`call.ended`}),`, with `,_jsx(_components.code,{children:`summary`}),` filled in:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,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:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call.summary\"`}),_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:` \"data\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6740b3a1e4b0a1b2c3d4e7a0\"`}),_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:` \"contact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"919876543210\"`}),_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:`\"END\"`}),_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:` \"handledBy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ai\"`}),_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:` \"durationSeconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`95`}),_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:`\"Priya runs 3 salons in Pune and wants WhatsApp reminders. Asked for pricing for 3 users; agreed to a demo Friday 11 am.\"`}),_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:` \"recording\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/api/pub/wa/call/6740b3a1e4b0a1b2c3d4e7a0/recording\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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`]})})}),`\n`,_jsxs(_components.p,{children:[`Match it to the earlier `,_jsx(_components.code,{children:`call.ended`}),` by `,_jsx(_components.code,{children:`id`}),` and update the same call record. Calls your team or your own system answered don’t get a summary.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Want the full conversation? `,_jsx(_components.a,{href:`/api-reference/call/get`,children:`Get a Call`}),` returns the transcript, line by line, for calls the AI took.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`call-live-signals`,children:`call (live signals)`}),`\n`,_jsxs(_components.p,{children:[`Only for WhatsApp numbers set to `,_jsx(_components.strong,{children:`API calling`}),`, where your own app answers calls through the `,_jsx(_components.a,{href:`/api-reference/call/connect`,children:`Call API`}),`. AdsEra forwards WhatsApp’s call signals so your app can connect the audio.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Unlike every other event, live signals are `,_jsx(_components.strong,{children:`not`}),` wrapped in `,_jsx(_components.code,{children:`{ event, data }`}),`. The body is the signal itself, and its own `,_jsx(_components.code,{children:`event`}),` field says which one it is. Their `,_jsx(_components.code,{children:`call.ended`}),` is a live signal; it’s not the same as the `,_jsx(_components.code,{children:`call.ended`}),` logging event above, which comes wrapped in `,_jsx(_components.code,{children:`data`}),`.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,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:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call.initiated\"`}),_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:` \"callId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6740b3a1e4b0a1b2c3d4e7a0\"`}),_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:` \"metaCallId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wacid.HBgM…\"`}),_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:` \"session\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"sdp_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"offer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"sdp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v=0`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\r\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`o=- …\"`}),_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:` \"contact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6740a0f2e4b0a1b2c3d4e5a1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"919876543210\"`}),_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:`\"Priya\"`}),_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:` \"waba\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68a06be5ea4b520115654c7\"`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1795163755756\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsxs(_components.th,{children:[`Signal (`,_jsx(_components.code,{children:`event`}),`)`]}),_jsx(_components.th,{children:`When`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call.initiated`})}),_jsxs(_components.td,{children:[`A customer is calling you. `,_jsx(_components.code,{children:`session`}),` holds WhatsApp’s SDP offer.`]}),_jsxs(_components.td,{children:[`Create your answer, then call `,_jsx(_components.a,{href:`/api-reference/call/pre-accept`,children:`Pre-accept`}),` and `,_jsx(_components.a,{href:`/api-reference/call/accept`,children:`Accept`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call.answer`})}),_jsxs(_components.td,{children:[`The customer answered your outbound call. `,_jsx(_components.code,{children:`session`}),` holds their SDP answer.`]}),_jsx(_components.td,{children:`Apply it to your connection.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call.status`})}),_jsxs(_components.td,{children:[`Ringing, connected or rejected. `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`CONNECTING`}),`, `,_jsx(_components.code,{children:`CONNECTED`}),` or `,_jsx(_components.code,{children:`REJECTED`}),`.`]}),_jsx(_components.td,{children:`Update your UI.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call.ended`})}),_jsx(_components.td,{children:`The call ended.`}),_jsx(_components.td,{children:`Close the connection.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`timestamp`}),` here is in milliseconds since 1970, as a string. Only your `,_jsx(_components.code,{children:`secret`}),` is sent with these signals, in the `,_jsx(_components.code,{children:`x-secret`}),` header; Basic, Bearer and custom-header authentication don’t apply to them.`]})]})}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":"Call events","description":"call.ended, call.summary and the live call signals, field by field.","href":"/api-reference/webhooks/calls"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"call.ended","slug":"call-ended","depth":2,"children":[]},{"title":"call.summary","slug":"call-summary","depth":2,"children":[]},{"title":"call (live signals)","slug":"call-live-signals","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"adsera","siteName":"AdsEra Knowledge Base","title":"Call events - AdsEra Knowledge Base","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T08:39:41.677Z","originalFileLocation":"api-reference/webhooks/calls.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=\"call.ended, call.summary and the live call signals, field by field.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AdsEra Knowledge Base\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Call events - AdsEra Knowledge Base\">\u003cmeta data-mint-head property=\"og:description\" content=\"call.ended, call.summary and the live call signals, field by field.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AdsEra Knowledge Base\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.adsera.in/api-reference/webhooks/calls\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://adsera.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Call+events\u0026amp;description=call.ended%2C+call.summary+and+the+live+call+signals%2C+field+by+field.\u0026amp;theme=17e1c4c190f4e89e637399d7\u0026amp;signature=a7551069d0be638e0f7053f4da285efe0af8acdac0ede927ddf9775d04c4e1c4\">\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=\"Call events - AdsEra Knowledge Base\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"call.ended, call.summary and the live call signals, field by field.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://adsera.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Call+events\u0026amp;description=call.ended%2C+call.summary+and+the+live+call+signals%2C+field+by+field.\u0026amp;theme=17e1c4c190f4e89e637399d7\u0026amp;signature=a7551069d0be638e0f7053f4da285efe0af8acdac0ede927ddf9775d04c4e1c4\">\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=\"/mintlify-assets/_mintlify/favicons/adsera/-GxN1LxYe-vNfqRx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AdsEra Knowledge Base\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A8DEE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.adsera.in/api-reference/webhooks/calls\">\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/calls.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.adsera.in/#organization\",\"name\":\"AdsEra Knowledge Base\",\"url\":\"https://docs.adsera.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/adsera/8T-9M2Mq9-WTK-nT/logo/light.svg?fit=max\u0026auto=format\u0026n=8T-9M2Mq9-WTK-nT\u0026q=85\u0026s=ad1c41e9d3687ba296e49ca375c9671f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.adsera.in#website\",\"name\":\"AdsEra Knowledge Base\",\"url\":\"https://docs.adsera.in\",\"publisher\":{\"@id\":\"https://docs.adsera.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.adsera.in/api-reference/webhooks/calls#webpage\",\"url\":\"https://docs.adsera.in/api-reference/webhooks/calls\",\"name\":\"Call events\",\"description\":\"call.ended, call.summary and the live call signals, field by field.\",\"dateModified\":\"2026-11-20T08:39:41.677Z\",\"isPartOf\":{\"@id\":\"https://docs.adsera.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.adsera.in/api-reference/webhooks/calls#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.adsera.in/api-reference/webhooks/calls#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://docs.adsera.in/api-reference/webhooks/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Call events\",\"item\":\"https://docs.adsera.in/api-reference/webhooks/calls\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.adsera.in/api-reference/webhooks/calls#article\",\"headline\":\"Call events\",\"name\":\"Call events\",\"description\":\"call.ended, call.summary and the live call signals, field by field.\",\"url\":\"https://docs.adsera.in/api-reference/webhooks/calls\",\"mainEntityOfPage\":{\"@id\":\"https://docs.adsera.in/api-reference/webhooks/calls#webpage\"},\"dateModified\":\"2026-11-20T08:39:41.677Z\",\"publisher\":{\"@id\":\"https://docs.adsera.in/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.adsera.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AdsEra Knowledge Base\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AdsEra Knowledge Base\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/webhooks/calls.md","siteName":"AdsEra Knowledge Base","nav":{"global":{"anchors":[{"anchor":"Feedback","icon":"book-open-cover","href":"https://adsera.featurebase.app"},{"anchor":"Blog","icon":"newspaper","href":"https://adsera.in/blog"}]},"tabs":[{"tab":"Help Center","pages":[{"title":"Help Center","href":"/help/introduction/adsera"}]},{"tab":"What's New","pages":[{"title":"What's New","href":"/changelog"}]},{"tab":"API reference","groups":[{"group":"API documentation","pages":[{"title":"API Authentication","href":"/api-reference/introduction"},{"title":"Use AdsEra with your own CRM","href":"/api-reference/connect-your-crm"}]},{"group":"WhatsApp","pages":[{"title":"List WABA","openapi":"GET /api/pub/wa/waba/list","href":"/api-reference/whatsapp/list"},{"title":"Generate Onboarding Link","openapi":"GET /api/pub/wa/waba/link","href":"/api-reference/whatsapp/link"}]},{"group":"Template","pages":[{"title":"List WhatsApp Templates","openapi":"GET /api/pub/wa/template/list/{whatsapp}","href":"/api-reference/template/list"},{"title":"List All Templates","openapi":"GET /api/pub/wa/template/all/list","href":"/api-reference/template/all-list"}]},{"group":"Snippets","pages":[{"title":"List Snippets","openapi":"GET /api/pub/wa/snippet/list","href":"/api-reference/snippet/list"}]},{"group":"Message","pages":[{"title":"Send WhatsApp Template","openapi":"POST /api/pub/wa/send/template","href":"/api-reference/msg/send"},{"title":"Send WhatsApp Template (v2)","openapi":"POST /api/pub/v2/wa/send/template","href":"/api-reference/msg/send-v2"},{"title":"Send Snippet Message","openapi":"POST /api/pub/wa/send/snippet","href":"/api-reference/msg/snippet"},{"title":"Send Generic Message","openapi":"POST /api/pub/wa/send/msg","href":"/api-reference/msg/msg"},{"title":"Get a Conversation","openapi":"GET /api/pub/wa/messages","href":"/api-reference/msg/conversation"}]},{"group":"Media","pages":[{"title":"Get Media by ID","openapi":"GET /api/pub/wa/media/url/{mediaId}","href":"/api-reference/media/get"}]},{"group":"Call","pages":[{"title":"List Calls","openapi":"GET /api/pub/wa/call/list","href":"/api-reference/call/list"},{"title":"Get a Call","openapi":"GET /api/pub/wa/call/{id}","href":"/api-reference/call/get"},{"title":"Download a Call Recording","openapi":"GET /api/pub/wa/call/{id}/recording","href":"/api-reference/call/recording"},{"title":"Initiate Outbound Call","openapi":"POST /api/pub/wa/call/connect/{whatsapp}","href":"/api-reference/call/connect"},{"title":"Pre-Accept Incoming Call","openapi":"POST /api/pub/wa/call/pre/accept","href":"/api-reference/call/pre-accept"},{"title":"Accept Call","openapi":"POST /api/pub/wa/call/accept","href":"/api-reference/call/accept"},{"title":"End Call","openapi":"POST /api/pub/wa/call/end","href":"/api-reference/call/end"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference/webhooks/overview"},{"title":"Message events","description":"message.new, message.sent, message.status_updated and message.reaction_updated, field by field.","href":"/api-reference/webhooks/messages"},{"title":"Call events","href":"/api-reference/webhooks/calls"},{"title":"Addy events","description":"addy.handoff and addy.lead_updated, field by field.","href":"/api-reference/webhooks/addy"},{"title":"Contact and order events","href":"/api-reference/webhooks/contacts-orders"}]},{"group":"AI Agent (Addy)","pages":[{"title":"Addy API","href":"/api-reference/addy/overview"},{"title":"Get a Customer's Addy Chat","openapi":"GET /api/pub/addy/chat","href":"/api-reference/addy/chat"},{"title":"Take a Chat from Addy","openapi":"POST /api/pub/addy/chat/take","href":"/api-reference/addy/take"},{"title":"Hand a Chat Back to Addy","openapi":"POST /api/pub/addy/chat/handback","href":"/api-reference/addy/handback"},{"title":"Send an Event to Addy","openapi":"POST /api/pub/addy/events","href":"/api-reference/addy/events"},{"title":"List Addy's Leads","openapi":"GET /api/pub/addy/leads","href":"/api-reference/addy/leads"}]},{"group":"Meta Business AI (Meta's agent)","pages":[{"title":"Send an Agent Event","openapi":"POST /api/pub/wa/business-agent/events","href":"/api-reference/business-agent/event"},{"title":"Get Agent Event Status","openapi":"GET /api/pub/wa/business-agent/events/{id}","href":"/api-reference/business-agent/event-status"},{"title":"Take Over a Chat","openapi":"POST /api/pub/wa/business-agent/threads/take","href":"/api-reference/business-agent/take"},{"title":"Hand a Chat Back to the AI Agent","openapi":"POST /api/pub/wa/business-agent/threads/release","href":"/api-reference/business-agent/release"}]},{"group":"CRM: Contacts","pages":[{"title":"CRM API overview","href":"/api-reference/crm/overview"},{"title":"Create or Update a Contact","openapi":"POST /api/pub/crm/contacts","href":"/api-reference/crm/contacts/upsert"},{"title":"List Contacts","openapi":"GET /api/pub/crm/contacts","href":"/api-reference/crm/contacts/list"},{"title":"Find a Contact by Phone or Email","openapi":"GET /api/pub/crm/contacts/lookup","href":"/api-reference/crm/contacts/lookup"},{"title":"Get a Contact","openapi":"GET /api/pub/crm/contacts/{id}","href":"/api-reference/crm/contacts/get"},{"title":"Update a Contact","openapi":"PATCH /api/pub/crm/contacts/{id}","href":"/api-reference/crm/contacts/update"},{"title":"Add a Label","openapi":"POST /api/pub/crm/contacts/{id}/labels","href":"/api-reference/crm/contacts/add-label"},{"title":"Remove a Label","openapi":"DELETE /api/pub/crm/contacts/{id}/labels/{label}","href":"/api-reference/crm/contacts/remove-label"},{"title":"Add to a List","openapi":"POST /api/pub/crm/contacts/{id}/lists","href":"/api-reference/crm/contacts/add-list"},{"title":"Remove from a List","openapi":"DELETE /api/pub/crm/contacts/{id}/lists/{list}","href":"/api-reference/crm/contacts/remove-list"}]},{"group":"CRM: Deals","pages":[{"title":"List Pipelines","openapi":"GET /api/pub/crm/pipelines","href":"/api-reference/crm/pipelines/list"},{"title":"Create a Deal","openapi":"POST /api/pub/crm/deals","href":"/api-reference/crm/deals/create"},{"title":"List Deals","openapi":"GET /api/pub/crm/deals","href":"/api-reference/crm/deals/list"},{"title":"Get a Deal","openapi":"GET /api/pub/crm/deals/{id}","href":"/api-reference/crm/deals/get"},{"title":"Update a Deal","openapi":"PATCH /api/pub/crm/deals/{id}","href":"/api-reference/crm/deals/update"}]},{"group":"CRM: Tasks \u0026 Notes","pages":[{"title":"Create a Task","openapi":"POST /api/pub/crm/tasks","href":"/api-reference/crm/tasks/create"},{"title":"List Tasks","openapi":"GET /api/pub/crm/tasks","href":"/api-reference/crm/tasks/list"},{"title":"Get a Task","openapi":"GET /api/pub/crm/tasks/{id}","href":"/api-reference/crm/tasks/get"},{"title":"Update a Task","openapi":"PATCH /api/pub/crm/tasks/{id}","href":"/api-reference/crm/tasks/update"},{"title":"Add a Note","openapi":"POST /api/pub/crm/notes","href":"/api-reference/crm/notes/create"}]},{"group":"CRM: Lookups","pages":[{"title":"List Attributes","openapi":"GET /api/pub/crm/attributes","href":"/api-reference/crm/lookups/attributes"},{"title":"List Labels","openapi":"GET /api/pub/crm/labels","href":"/api-reference/crm/lookups/labels"},{"title":"List Lists","openapi":"GET /api/pub/crm/lists","href":"/api-reference/crm/lookups/lists"}]}]}]},"basePath":"","title":"Call events - AdsEra Knowledge Base","deploymentId":"dpl_2pTxFtyBudBMYZiCw1MyvoA1wxpd","buildId":"dpl_2pTxFtyBudBMYZiCw1MyvoA1wxpd","dynamics":[],"chunks":[]}