Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.
When an end user taps a button in a WhatsApp message, the OneXtel platform posts a
Button Click callback to your configured endpoint. Button clicks are inbound button
interactions submitted under incoming message events, so the payload follows the same
structure as Incoming Messages
with a button object in place of the message content objects.
In the sample below, each field’s value shows that field’s JSON path rather than an
example value. All leaf fields are typed as string.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OneXtel","colors":{"primary":"#242C6A","light":"#242C6A","dark":"#242C6A"},"logo":{"light":"https://mintcdn.com/onextel-09023014/vEquwaRxR4Mg_-97/images/Xsymbol.png?fit=max\u0026auto=format\u0026n=vEquwaRxR4Mg_-97\u0026q=85\u0026s=ca8a83762561eb064c1ebb35709d6f77","dark":"https://mintcdn.com/onextel-09023014/vEquwaRxR4Mg_-97/images/logo.png?fit=max\u0026auto=format\u0026n=vEquwaRxR4Mg_-97\u0026q=85\u0026s=cb43d9837bb40c11e42081de17ca736e"},"favicon":{"light":"https://mintcdn.com/onextel-09023014/vEquwaRxR4Mg_-97/images/Xsymbol.png?fit=max\u0026auto=format\u0026n=vEquwaRxR4Mg_-97\u0026q=85\u0026s=ca8a83762561eb064c1ebb35709d6f77","dark":"https://mintcdn.com/onextel-09023014/vEquwaRxR4Mg_-97/images/logo.png?fit=max\u0026auto=format\u0026n=vEquwaRxR4Mg_-97\u0026q=85\u0026s=cb43d9837bb40c11e42081de17ca736e"},"appearance":{"default":"light","strict":true},"background":{"decoration":"grid","color":{"light":"#ffffff","dark":"#ffffff"}},"navbar":{"links":[{"href":"/download-pdf","label":"Download PDF"}],"primary":{"type":"button","label":"OneXtel","href":"https://onextel.com"}},"footer":{"socials":{"website":"https://onextel.com","linkedin":"https://www.linkedin.com/company/14525405","instagram":"https://www.instagram.com/onextel_media"}},"icons":{"library":"fontawesome"},"banner":{"content":"**Beta documentation, for internal review.** Do not share this site with customers.","dismissible":false,"type":"warning"},"contextual":{"options":["copy","view","download-pdf",{"title":"Download all docs","description":"Every guide, API reference and plugin page in one PDF","icon":"file-pdf","href":"/download-pdf"},"download-spec","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onextel-09023014","hasAudioNarration":false,"actualSubdomain":"onextel-09023014","customDomains":[],"gitSource":{"type":"github","owner":"1xtel","repo":"onextel-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10f49a9ffae5051c418fcb"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b09147e5972eb552bebeb08","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Guides","count":81},{"language":"default","tag":"API Reference","count":80},{"language":"default","tag":"WhatsApp","count":37},{"language":"default","tag":"Truecaller","count":31},{"language":"default","tag":"RCS","count":18},{"language":"default","tag":"SMS (International)","count":14},{"language":"default","tag":"Campaigns","count":14},{"language":"default","tag":"Platform","count":14},{"language":"default","tag":"Verify","count":12},{"language":"default","tag":"Plugins","count":12}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"feedback.css","content":".oxf{--oxf-navy: #252e6a;--oxf-red: #d72327;--oxf-sky: #dae6f1;--oxf-grey: #e6e7e8;--oxf-ink: #231f20;--oxf-surface: #ffffff;font-size:14px;line-height:1.45}html.dark .oxf{--oxf-sky: #2a3350;--oxf-grey: #3a3f55;--oxf-ink: #f1f3f8;--oxf-surface: #151a2e}.oxf[hidden],.oxf [hidden]{display:none}.oxf-bubble,.oxf-launcher,.oxf-primary{background:var(--oxf-navy);color:#ffffff;border:0;border-radius:999px;padding:8px 14px;font-weight:600;cursor:pointer;box-shadow:0 4px 14px rgb(0 0 0 / 0.18)}.oxf-bubble{position:absolute;z-index:60}.oxf-launcher{position:fixed;right:20px;bottom:20px;z-index:55}.oxf-bubble:focus-visible,.oxf-launcher:focus-visible,.oxf-panel button:focus-visible,.oxf-input:focus-visible{outline:2px solid var(--oxf-red);outline-offset:2px}.oxf-panel{position:fixed;right:20px;bottom:68px;z-index:56;width:min(380px, calc(100vw - 32px));max-height:min(70vh, 640px);overflow-y:auto;padding:16px;background:var(--oxf-surface);color:var(--oxf-ink);border:1px solid var(--oxf-grey);border-radius:12px;box-shadow:0 12px 32px rgb(0 0 0 / 0.22)}.oxf-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.oxf-help,.oxf-local,.oxf-status,.oxf-meta,.oxf-empty{margin:8px 0 0;font-size:13px;opacity:0.8}.oxf-status:empty{display:none}.oxf-starters,.oxf-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.oxf-secondary{background:transparent;color:inherit;border:1px solid var(--oxf-grey);border-radius:8px;padding:6px 10px;cursor:pointer}.oxf-link{background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer;font-size:13px}.oxf-form{display:grid;gap:8px;margin-top:12px}.oxf-quote,.oxf-jump{margin:0;padding:8px 10px;background:var(--oxf-sky);color:inherit;border:0;border-left:3px solid var(--oxf-navy);border-radius:4px;font-size:13px;text-align:left;overflow-wrap:anywhere}.oxf-jump{display:block;width:100%;cursor:pointer}.oxf-input{width:100%;padding:8px 10px;background:var(--oxf-surface);color:inherit;border:1px solid var(--oxf-grey);border-radius:8px;font:inherit}.oxf-primary{border-radius:8px;box-shadow:none}.oxf-primary:disabled{opacity:0.6;cursor:default}.oxf-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:12px}.oxf-item{padding-top:12px;border-top:1px solid var(--oxf-grey)}.oxf-comment{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.oxf-meta{display:flex;justify-content:space-between;gap:8px}.oxf-resolved .oxf-jump,.oxf-resolved .oxf-comment{opacity:0.55}.oxf-pick-hint{position:fixed;left:50%;bottom:20px;z-index:57;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:10px 14px;background:var(--oxf-navy);color:#ffffff;border-radius:8px;box-shadow:0 4px 14px rgb(0 0 0 / 0.18)}html.oxf-picking #content,html.oxf-picking main{cursor:crosshair}.oxf-pick-target{outline:2px solid #d72327;outline-offset:3px;border-radius:4px}::highlight(oxf-note){background-color:rgb(247 231 206 / 0.9);color:#231f20}::highlight(oxf-focus){background-color:rgb(215 35 39 / 0.3)}@media print{.oxf{display:none}}"},{"filePath":"banner.css","content":"#banner{background-color:#d72327!important}"}]}
{"page":{"pagePath":"api-reference/whatsapp/callback-button-clicks","slug":"/api-reference/whatsapp/callback-button-clicks","pageMetadata":{"title":"Callback: Button Clicks","description":"Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.","href":"/api-reference/whatsapp/callback-button-clicks"},"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: \"Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.\"\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`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`When an end user taps a button in a WhatsApp message, the OneXtel platform posts a\nButton Click callback to your configured endpoint. Button clicks are inbound button\ninteractions submitted under incoming message events, so the payload follows the same\nstructure as `,_jsx(_components.a,{href:`/api-reference/whatsapp/callback-incoming-messages`,children:`Incoming Messages`}),`\nwith a `,_jsx(_components.code,{children:`button`}),` object in place of the message content objects.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`In the sample below, each field’s value shows that field’s JSON path rather than an\nexample value. All leaf fields are typed as `,_jsx(_components.code,{children:`string`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`payload-format`,children:`Payload format`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`48`,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:`48`,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:` \"custref1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"custref1\"`}),_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:` \"custref2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"custref2\"`}),_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:` \"custref3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"custref3\"`}),_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:` \"custref4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"custref4\"`}),_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:` \"custref5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"custref5\"`}),_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:` \"entry\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.id\"`}),_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:` \"changes\"`}),_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:` \"value\"`}),_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:` \"messages\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.messages.id\"`}),_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:`\"entry.changes.value.messages.timestamp\"`}),_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:`\"entry.changes.value.messages.type\"`}),_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:` \"context\"`}),_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:`\"entry.changes.value.messages.context.id\"`}),_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:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.messages.context.from\"`})]}),`\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:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.messages.from\"`}),_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:` \"button\"`}),_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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.messages.button.text\"`}),_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:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.messages.button.payload\"`})]}),`\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`,_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:` \"metadata\"`}),_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_phone_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.metadata.display_phone_number\"`}),_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_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.metadata.phone_number_id\"`})]}),`\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:` \"messaging_product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.messaging_product\"`}),_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:` \"contacts\"`}),_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:` \"profile\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.contacts.profile.name\"`})]}),`\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:` \"wa_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.value.contacts.wa_id\"`})]}),`\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`,_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:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"entry.changes.field\"`})]}),`\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`,_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`field-reference`,children:`Field reference`}),`\n`,_jsx(ResponseField,{name:`custref1`,type:`string`,id:`param-custref1`,children:_jsxs(_components.p,{children:[`Custom reference field 1, echoed back from the original send request. See\n`,_jsx(_components.a,{href:`/api-reference/whatsapp/callback-events#custom-reference-passthrough`,children:`custom reference passthrough`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`custref2`,type:`string`,id:`param-custref2`,children:_jsx(_components.p,{children:`Custom reference field 2, echoed back from the original send request.`})}),`\n`,_jsx(ResponseField,{name:`custref3`,type:`string`,id:`param-custref3`,children:_jsx(_components.p,{children:`Custom reference field 3, echoed back from the original send request.`})}),`\n`,_jsx(ResponseField,{name:`custref4`,type:`string`,id:`param-custref4`,children:_jsx(_components.p,{children:`Custom reference field 4, echoed back from the original send request.`})}),`\n`,_jsx(ResponseField,{name:`custref5`,type:`string`,id:`param-custref5`,children:_jsx(_components.p,{children:`Custom reference field 5, echoed back from the original send request.`})}),`\n`,_jsxs(ResponseField,{name:`entry`,type:`array of object`,id:`param-entry`,children:[_jsx(_components.p,{children:`Container array for the callback event.`}),_jsxs(Expandable,{title:`entry[] properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Identifier of the entry.`})}),_jsxs(ResponseField,{name:`changes`,type:`array of object`,id:`param-changes`,children:[_jsx(_components.p,{children:`Array of change events within this entry.`}),_jsxs(Expandable,{title:`changes[] properties`,children:[_jsxs(ResponseField,{name:`value`,type:`object`,id:`param-value`,children:[_jsx(_components.p,{children:`The event data for this change.`}),_jsxs(Expandable,{title:`value properties`,children:[_jsxs(ResponseField,{name:`messages`,type:`array of object`,id:`param-messages`,children:[_jsx(_components.p,{children:`Inbound message objects carrying the button interaction.`}),_jsxs(Expandable,{title:`messages[] properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Identifier of the inbound message.`})}),_jsx(ResponseField,{name:`timestamp`,type:`string`,id:`param-timestamp`,children:_jsx(_components.p,{children:`Timestamp of the button click message.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsx(_components.p,{children:`Type of the inbound message.`})}),_jsx(ResponseField,{name:`from`,type:`string`,id:`param-from`,children:_jsx(_components.p,{children:`Sender of the inbound message.`})}),_jsxs(ResponseField,{name:`context`,type:`object`,id:`param-context`,children:[_jsx(_components.p,{children:`Context referencing the message that contained the button.`}),_jsxs(Expandable,{title:`context properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`Identifier of the referenced message.`})}),_jsx(ResponseField,{name:`from`,type:`string`,id:`param-from-1`,children:_jsx(_components.p,{children:`Sender of the referenced message.`})})]})]}),_jsxs(ResponseField,{name:`button`,type:`object`,id:`param-button`,children:[_jsx(_components.p,{children:`Details of the button the user tapped.`}),_jsxs(Expandable,{title:`button properties`,children:[_jsx(ResponseField,{name:`text`,type:`string`,id:`param-text`,children:_jsx(_components.p,{children:`Display text of the button that was clicked.`})}),_jsx(ResponseField,{name:`payload`,type:`string`,id:`param-payload`,children:_jsx(_components.p,{children:`Payload configured for the button.`})})]})]})]})]}),_jsxs(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata`,children:[_jsx(_components.p,{children:`Metadata about the business number that received the interaction.`}),_jsxs(Expandable,{title:`metadata properties`,children:[_jsx(ResponseField,{name:`display_phone_number`,type:`string`,id:`param-display-phone-number`,children:_jsx(_components.p,{children:`Display phone number of the business.`})}),_jsx(ResponseField,{name:`phone_number_id`,type:`string`,id:`param-phone-number-id`,children:_jsx(_components.p,{children:`Phone number identifier of the business.`})})]})]}),_jsx(ResponseField,{name:`messaging_product`,type:`string`,id:`param-messaging-product`,children:_jsx(_components.p,{children:`Messaging product for the event.`})}),_jsxs(ResponseField,{name:`contacts`,type:`array of object`,id:`param-contacts`,children:[_jsx(_components.p,{children:`Contact details of the user who clicked the button.`}),_jsxs(Expandable,{title:`contacts[] properties`,children:[_jsxs(ResponseField,{name:`profile`,type:`object`,id:`param-profile`,children:[_jsx(_components.p,{children:`Contact profile information.`}),_jsx(Expandable,{title:`profile properties`,children:_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Profile name of the contact.`})})})]}),_jsx(ResponseField,{name:`wa_id`,type:`string`,id:`param-wa-id`,children:_jsx(_components.p,{children:`WhatsApp ID of the contact.`})})]})]})]})]}),_jsx(ResponseField,{name:`field`,type:`string`,id:`param-field`,children:_jsx(_components.p,{children:`Field name describing the change.`})})]})]})]})]})]})}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":"Callback: Button Clicks","description":"Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.","href":"/api-reference/whatsapp/callback-button-clicks"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Payload format","slug":"payload-format","depth":2,"children":[]},{"title":"Field reference","slug":"field-reference","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/onextel-09023014/3fd9b1eec8d14911/feedback.js"],"subdomain":"onextel-09023014","siteName":"OneXtel","title":"Callback: Button Clicks - OneXtel","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T11:41:30.246Z","originalFileLocation":"api-reference/whatsapp/callback-button-clicks.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneXtel\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/onextel-09023014/FERTGqQkUGmZ7ru3/_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/onextel-09023014/FERTGqQkUGmZ7ru3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/onextel-09023014/FERTGqQkUGmZ7ru3/_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/onextel-09023014/FERTGqQkUGmZ7ru3/_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/onextel-09023014/FERTGqQkUGmZ7ru3/_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/onextel-09023014/FERTGqQkUGmZ7ru3/_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/onextel-09023014/FERTGqQkUGmZ7ru3/_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/onextel-09023014/FERTGqQkUGmZ7ru3/_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/onextel-09023014/FERTGqQkUGmZ7ru3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Callback: Button Clicks - OneXtel\">\u003cmeta data-mint-head property=\"og:description\" content=\"Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneXtel\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onextel-09023014.mintlify.site/_mintlify/api/og/v2?division=Callbacks\u0026amp;title=Callback%3A+Button+Clicks\u0026amp;description=Callback+payload+structure+for+inbound+WhatsApp+button+interactions+submitted+under+incoming+message+events.\u0026amp;theme=bf91e30fa1f84b6896b98302\u0026amp;signature=7341d470c773775d4a867835c6823d9e8c314d45b7f46e1a7a366cb01c87d195\">\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=\"Callback: Button Clicks - OneXtel\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onextel-09023014.mintlify.site/_mintlify/api/og/v2?division=Callbacks\u0026amp;title=Callback%3A+Button+Clicks\u0026amp;description=Callback+payload+structure+for+inbound+WhatsApp+button+interactions+submitted+under+incoming+message+events.\u0026amp;theme=bf91e30fa1f84b6896b98302\u0026amp;signature=7341d470c773775d4a867835c6823d9e8c314d45b7f46e1a7a366cb01c87d195\">\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/onextel-09023014/FERTGqQkUGmZ7ru3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneXtel\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#242C6A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/whatsapp/callback-button-clicks.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://onextel-09023014.mintlify.app/#organization\",\"name\":\"OneXtel\",\"url\":\"https://onextel-09023014.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onextel-09023014/vEquwaRxR4Mg_-97/images/Xsymbol.png?fit=max\u0026auto=format\u0026n=vEquwaRxR4Mg_-97\u0026q=85\u0026s=ca8a83762561eb064c1ebb35709d6f77\"}},{\"@type\":\"WebSite\",\"@id\":\"https://onextel-09023014.mintlify.app#website\",\"name\":\"OneXtel\",\"url\":\"https://onextel-09023014.mintlify.app\",\"publisher\":{\"@id\":\"https://onextel-09023014.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks#webpage\",\"url\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks\",\"name\":\"Callback: Button Clicks\",\"description\":\"Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.\",\"dateModified\":\"2026-11-26T11:41:30.246Z\",\"isPartOf\":{\"@id\":\"https://onextel-09023014.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WhatsApp\",\"item\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Callbacks\",\"item\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-events\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Callback: Button Clicks\",\"item\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks#article\",\"headline\":\"Callback: Button Clicks\",\"name\":\"Callback: Button Clicks\",\"description\":\"Callback payload structure for inbound WhatsApp button interactions submitted under incoming message events.\",\"url\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks\",\"mainEntityOfPage\":{\"@id\":\"https://onextel-09023014.mintlify.app/api-reference/whatsapp/callback-button-clicks#webpage\"},\"dateModified\":\"2026-11-26T11:41:30.246Z\",\"publisher\":{\"@id\":\"https://onextel-09023014.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://onextel-09023014.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneXtel\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OneXtel\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/whatsapp/callback-button-clicks.md","siteName":"OneXtel","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/about-onextel"}]},{"tab":"API Reference","groups":[{"group":"Tools","pages":[{"title":"Validate a payload","href":"/api-reference/payload-validator"}]},{"group":"WhatsApp","pages":[{"title":"WhatsApp API Overview","href":"/api-reference/whatsapp/overview"},{"title":"Create WhatsApp Template","href":"/api-reference/whatsapp/templates-create"},{"title":"Fetch WhatsApp Templates","href":"/api-reference/whatsapp/templates-fetch"},{"title":"Send WhatsApp Template Message","href":"/api-reference/whatsapp/send-template-message"},{"title":"Send Session Messages","href":"/api-reference/whatsapp/send-session-messages"},{"title":"Media","href":"/api-reference/whatsapp/media"},{"title":"Opt In / Opt Out","href":"/api-reference/whatsapp/opt-in-opt-out"},{"group":"Callbacks","pages":[{"title":"WhatsApp Callback Events","href":"/api-reference/whatsapp/callback-events"},{"title":"Callback: Incoming Messages","href":"/api-reference/whatsapp/callback-incoming-messages"},{"title":"Callback: Delivery Notification","description":"Receive WhatsApp delivery status updates, with the full status lifecycle, conversation, pricing, and error fields explained.","href":"/api-reference/whatsapp/callback-delivery-notification"},{"title":"Callback: Button Clicks","href":"/api-reference/whatsapp/callback-button-clicks"},{"title":"Callback: URL Click","description":"Callback payload structure for WhatsApp URL click tracking events, including browser, device, campaign, link, and recipient metadata.","href":"/api-reference/whatsapp/callback-url-click"}]},{"title":"WhatsApp Error Codes","href":"/api-reference/whatsapp/error-codes"}]},{"group":"RCS","pages":[{"title":"RCS Messaging Overview","href":"/api-reference/rcs/overview"},{"title":"RCS Templates","href":"/api-reference/rcs/templates"},{"title":"Send an RCS Template Message","href":"/api-reference/rcs/send-template-message"},{"title":"Send Non-Template Messages","href":"/api-reference/rcs/send-messages"},{"title":"Media Upload","href":"/api-reference/rcs/media"},{"title":"Opt In / Opt Out","href":"/api-reference/rcs/opt-in-opt-out"},{"title":"RCS Delivery Notification","href":"/api-reference/rcs/callback-delivery-notification"},{"title":"RCS Operator Error Codes","href":"/api-reference/rcs/error-codes"}]},{"group":"SMS (India)","pages":[{"title":"India SMS Overview","href":"/api-reference/sms/overview"},{"title":"Send SMS — India","href":"/api-reference/sms/send-sms-omni"},{"title":"DLR Callback","href":"/api-reference/sms/dlr-callback"},{"title":"Clicker Callback","href":"/api-reference/sms/clicker-callback"},{"title":"Pull Message Status","href":"/api-reference/sms/get-status"},{"title":"Standalone URL Shortener","href":"/api-reference/sms/url-shortener"},{"title":"India SMS Error Codes","href":"/api-reference/sms/error-codes"}]},{"group":"SMS (International)","pages":[{"title":"International SMS overview","href":"/api-reference/sms-international/overview"},{"title":"Send SMS — International","sidebarTitle":"Send SMS","href":"/api-reference/sms-international/send-sms"},{"title":"DLR callback","href":"/api-reference/sms-international/dlr-callback"},{"title":"International SMS response codes","sidebarTitle":"Response codes","href":"/api-reference/sms-international/error-codes"}]},{"group":"OmniChannel","pages":[{"title":"OmniChannel API Overview","href":"/api-reference/omnichannel/overview"},{"title":"Fallback API","href":"/api-reference/omnichannel/fallback"},{"title":"Message Status","href":"/api-reference/omnichannel/message-status"},{"title":"Message History","href":"/api-reference/omnichannel/message-history"}]},{"group":"Verify","pages":[{"title":"Verify API Overview","href":"/api-reference/verify/overview"},{"title":"Create and dispatch a PIN","openapi":"POST /v1/pins","href":"/api-reference/verify/create-and-dispatch-a-pin"},{"title":"Resend a PIN","openapi":"POST /v1/pins/{pinId}/resend","href":"/api-reference/verify/resend-a-pin"},{"title":"Verify a PIN","openapi":"POST /v1/pins/{pinId}/verify","href":"/api-reference/verify/verify-a-pin"},{"title":"List templates","openapi":"GET /v1/templates","href":"/api-reference/verify/list-templates"},{"title":"List channel accounts","openapi":"GET /v1/channel-accounts","href":"/api-reference/verify/list-channel-accounts"},{"title":"Verify Error Codes","href":"/api-reference/verify/error-codes"},{"group":"Pins","pages":[{"title":"Create and dispatch a PIN","deprecated":null,"version":null,"openapi":"/api-reference/verify/openapi.yaml post /v1/pins","href":"/api-reference/pins/create-and-dispatch-a-pin"},{"title":"Resend a PIN","deprecated":null,"version":null,"openapi":"/api-reference/verify/openapi.yaml post /v1/pins/{pinId}/resend","href":"/api-reference/pins/resend-a-pin"},{"title":"Verify a PIN","deprecated":null,"version":null,"openapi":"/api-reference/verify/openapi.yaml post /v1/pins/{pinId}/verify","href":"/api-reference/pins/verify-a-pin"}]},{"group":"Templates","pages":[{"title":"List templates","deprecated":null,"version":null,"openapi":"/api-reference/verify/openapi.yaml get /v1/templates","href":"/api-reference/templates/list-templates"}]},{"group":"Channel Accounts","pages":[{"title":"List channel accounts","deprecated":null,"version":null,"openapi":"/api-reference/verify/openapi.yaml get /v1/channel-accounts","href":"/api-reference/channel-accounts/list-channel-accounts"}]}]},{"group":"Truecaller","pages":[{"title":"Truecaller API Overview","href":"/api-reference/truecaller/overview"},{"title":"Rich messages","href":"/api-reference/truecaller/rich-messages"},{"title":"Webhooks","href":"/api-reference/truecaller/webhooks"},{"title":"Errors","href":"/api-reference/truecaller/errors"},{"group":"Messages","pages":[{"title":"Send a message","openapi":"api-reference/truecaller/openapi.yaml POST /v1/messages","href":"/api-reference/truecaller/send-message"},{"title":"Get a message","openapi":"api-reference/truecaller/openapi.yaml GET /v1/messages/{id}","href":"/api-reference/truecaller/get-message"}]},{"group":"Templates","pages":[{"title":"List templates","openapi":"api-reference/truecaller/openapi.yaml GET /v1/templates","href":"/api-reference/truecaller/list-templates"},{"title":"Create a template","openapi":"api-reference/truecaller/openapi.yaml POST /v1/templates","href":"/api-reference/truecaller/create-template"},{"title":"Get a template","openapi":"api-reference/truecaller/openapi.yaml GET /v1/templates/{id}","href":"/api-reference/truecaller/get-template"},{"title":"Update a template","openapi":"api-reference/truecaller/openapi.yaml PUT /v1/templates/{id}","href":"/api-reference/truecaller/update-template"},{"title":"Submit a template","openapi":"api-reference/truecaller/openapi.yaml POST /v1/templates/{id}/submit","href":"/api-reference/truecaller/submit-template"},{"title":"Preview a template","openapi":"api-reference/truecaller/openapi.yaml POST /v1/templates/{id}/preview","href":"/api-reference/truecaller/preview-template"},{"title":"Delete a template","openapi":"api-reference/truecaller/openapi.yaml DELETE /v1/templates/{id}","href":"/api-reference/truecaller/delete-template"},{"title":"Upload media","openapi":"api-reference/truecaller/openapi.yaml POST /v1/media","href":"/api-reference/truecaller/upload-media"}]},{"group":"Contact lists","pages":[{"title":"List contact lists","openapi":"api-reference/truecaller/openapi.yaml GET /v1/lists","href":"/api-reference/truecaller/list-contact-lists"},{"title":"Create a contact list","openapi":"api-reference/truecaller/openapi.yaml POST /v1/lists","href":"/api-reference/truecaller/create-contact-list"},{"title":"Add contacts","openapi":"api-reference/truecaller/openapi.yaml POST /v1/lists/{id}/contacts","href":"/api-reference/truecaller/add-contacts"},{"title":"Check an audience","openapi":"api-reference/truecaller/openapi.yaml POST /v1/lists/validate","href":"/api-reference/truecaller/validate-audience"},{"title":"Get a contact list","openapi":"api-reference/truecaller/openapi.yaml GET /v1/lists/{id}","href":"/api-reference/truecaller/get-contact-list"},{"title":"Delete a contact list","openapi":"api-reference/truecaller/openapi.yaml DELETE /v1/lists/{id}","href":"/api-reference/truecaller/delete-contact-list"},{"title":"Opt a number out","openapi":"api-reference/truecaller/openapi.yaml POST /v1/opt-outs","href":"/api-reference/truecaller/opt-out"},{"title":"Remove an opt-out","openapi":"api-reference/truecaller/openapi.yaml DELETE /v1/opt-outs/{phone}","href":"/api-reference/truecaller/remove-opt-out"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","openapi":"api-reference/truecaller/openapi.yaml GET /v1/campaigns","href":"/api-reference/truecaller/list-campaigns"},{"title":"Create a campaign","openapi":"api-reference/truecaller/openapi.yaml POST /v1/campaigns","href":"/api-reference/truecaller/create-campaign"},{"title":"Get a campaign","openapi":"api-reference/truecaller/openapi.yaml GET /v1/campaigns/{id}","href":"/api-reference/truecaller/get-campaign"},{"title":"Launch a campaign","openapi":"api-reference/truecaller/openapi.yaml POST /v1/campaigns/{id}/launch","href":"/api-reference/truecaller/launch-campaign"},{"title":"Cancel a campaign","openapi":"api-reference/truecaller/openapi.yaml POST /v1/campaigns/{id}/cancel","href":"/api-reference/truecaller/cancel-campaign"},{"title":"Delete a draft campaign","openapi":"api-reference/truecaller/openapi.yaml DELETE /v1/campaigns/{id}","href":"/api-reference/truecaller/delete-campaign"},{"title":"Campaign report","openapi":"api-reference/truecaller/openapi.yaml GET /v1/campaigns/{id}/report","href":"/api-reference/truecaller/campaign-report"},{"title":"Export campaign messages","openapi":"api-reference/truecaller/openapi.yaml GET /v1/campaigns/{id}/messages.csv","href":"/api-reference/truecaller/export-campaign-messages"}]},{"group":"Senders","pages":[{"title":"List senders","openapi":"api-reference/truecaller/openapi.yaml GET /v1/senders","href":"/api-reference/truecaller/list-senders"}]}]}]},{"tab":"Plugins","pages":[{"title":"Plugins","href":"/plugins/overview"}]},{"tab":"Archived APIs","pages":[{"title":"Archived APIs","href":"/legacy/overview"}]}]},"basePath":"","title":"Callback: Button Clicks - OneXtel","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["10e4515597"],"chunks":["BannerMarkdown-74C-oA3c.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}