You can configure callbacks to be triggered when specific events occur in the embedded Partoo App. These callbacks allow your integration to respond to user actions such as creating a business, clicking links, or encountering errors.
Some callbacks are blocking (they prevent the default behavior unless explicitly continued), while others are non-blocking (the Partoo App continues its normal flow).
Triggered when a user clicks a link to go to Partner Connection from Presence Management.
partooPage.on('pm_view_go_to_partner_connection_click', () => { // Handle redirection to connection view});
Use callback data to sync user actions with your backend, trigger alerts, or log analytics events in real-time.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Partoo API","colors":{"primary":"#0266F1","light":"#0266F1","dark":"#0266F1"},"logo":{"light":"https://mintcdn.com/partoo/TsLSUe0VyG69h3IT/assets/logo/partoo_logo_light.svg?fit=max\u0026auto=format\u0026n=TsLSUe0VyG69h3IT\u0026q=85\u0026s=c2706dd9b3d972be1546dde374b38064","dark":"https://mintcdn.com/partoo/TsLSUe0VyG69h3IT/assets/logo/partoo_logo_dark.svg?fit=max\u0026auto=format\u0026n=TsLSUe0VyG69h3IT\u0026q=85\u0026s=dfa0b161e3b8ff41e718c7a54adac157"},"favicon":"https://mintcdn.com/partoo/KeL2LkyU0Aa40gpF/assets/favicon.png?fit=max\u0026auto=format\u0026n=KeL2LkyU0Aa40gpF\u0026q=85\u0026s=0f76461469f69f649f6d0e2b92540b8f","background":{"decoration":"windows"},"navbar":{"primary":{"type":"button","label":"Go to app","href":"https://app.partoo.co/connection"}},"footer":{"socials":{"website":"https://www.partoo.co/en","linkedin":"https://www.linkedin.com/company/partoo","youtube":"https://www.youtube.com/channel/UC9ET1Ec9XVXKEeBX2dMOvUw"}},"integrations":{"ga4":{"measurementId":"G-SP9LKMW0WX"}},"contextual":{"options":["copy","view","chatgpt"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Contact Us","icon":"envelope","href":"/misc/help/how-to-get-help"},{"anchor":"Status Page","icon":"wrench","href":"https://status.partoo.co"},{"anchor":"OpenAPI Spec","icon":"download","href":"/misc/help/openapi-download"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"partoo","hasAudioNarration":false,"actualSubdomain":"partoo","customDomains":["developers.partoo.co"],"gitSource":{"type":"github","owner":"partoohub","repo":"partoo-api-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb14dd1ffad44139013602","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":187},{"language":"default","tag":"API Guides","count":33},{"language":"default","tag":"Businesses","count":30},{"language":"default","tag":"Resources","count":21},{"language":"default","tag":"Webhooks Events","count":21},{"language":"default","tag":"Reviews","count":15},{"language":"default","tag":"Feedback Management","count":14},{"language":"default","tag":"Settings","count":12},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"Users","count":10}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":false,"deflection":{"enabled":true,"email":"api@partoo.fr","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"assets/css/custom.css","content":"@font-face{font-family:\"Outfit\";font-style:normal;font-weight:100;src:url(\"/assets/font/Outfit-Thin.ttf\") format(\"truetype\");font-display:swap}@font-face{font-family:\"Outfit\";font-style:normal;font-weight:200;src:url(\"/assets/font/Outfit-ExtraLight.ttf\") format(\"truetype\");font-display:swap}@font-face{font-family:\"Outfit\";font-style:normal;font-weight:300;src:url(\"/assets/font/Outfit-Light.ttf\") format(\"truetype\");font-display:swap}@font-face{font-family:\"Outfit\";font-style:normal;font-weight:400;src:url(\"/assets/font/Outfit-Regular.ttf\") format(\"truetype\");font-display:swap}@font-face{font-family:\"Outfit\";font-style:normal;font-weight:500;src:url(\"/assets/font/Outfit-Medium.ttf\") format(\"truetype\");font-display:swap}@font-face{font-family:\"Outfit\";font-style:normal;font-weight:600;src:url(\"/assets/font/Outfit-SemiBold.ttf\") format(\"truetype\");font-display:swap}@font-face{font-family:\"Outfit\";font-style:normal;font-weight:700;src:url(\"/assets/font/Outfit-Bold.ttf\") format(\"truetype\");font-display:swap}@font-face{font-family:\"Outfit\";font-style:normal;font-weight:800;src:url(\"/assets/font/Outfit-ExtraBold.ttf\") format(\"truetype\");font-display:swap}@font-face{font-family:\"Outfit\";font-style:normal;font-weight:900;src:url(\"/assets/font/Outfit-Black.ttf\") format(\"truetype\");font-display:swap}body{font-family:\"Outfit\", sans-serif}h1{font-size:30px;font-weight:700}h1,h2,h3,h4,h5,h6{font-family:\"Outfit\", sans-serif}.mdx-content{font-family:\"Outfit\", sans-serif;font-size:17px}#sidebar-title{font-family:\"Outfit\", sans-serif;font-size:13px;font-weight:600;text-transform:uppercase;line-height:24px}.sidebar-group-icon{width:20px;height:20px}#navigation-items,#sidebar-group{display:flex;flex-direction:column;gap:4px}#sidebar-group>li,.sidebar-group>li{font-family:\"Outfit\", sans-serif;font-size:15px}.sidebar-group+.sidebar-group{margin-top:4px}li[data-group-tag]>ul>li+li{margin-top:4px}[data-component-part=\"callout-content\"]>*{font-size:15px}[data-component-part=\"callout-content\"] strong,[data-component-part=\"callout-content\"] b{color:inherit}#footer>div.flex.items-center.justify-between:nth-of-type(2){display:none}.effective-tag{display:inline-flex;align-items:center;gap:6px;margin-bottom:14px;padding:3px 12px;border-radius:9999px;background-color:#fef3c7;color:#92400e;border:1px solid #fcd34d;font-family:\"Outfit\", sans-serif;font-size:13px;font-weight:600;line-height:1.5;white-space:nowrap}.dark .effective-tag{background-color:rgba(120, 53, 15, 0.35);color:#fcd34d;border-color:rgba(180, 83, 9, 0.6)}"}],"page":{"pagePath":"guides/sdk/guides/events-callbacks","slug":"/guides/sdk/guides/events-callbacks","pageMetadata":{"title":"Events \u0026 Callbacks","description":null,"href":"/guides/sdk/guides/events-callbacks"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`capturing-partoo-app-events-with-callbacks`,children:`Capturing Partoo App Events with Callbacks`}),`\n`,_jsx(_components.p,{children:`You can configure callbacks to be triggered when specific events occur in the embedded Partoo App. These callbacks allow your integration to respond to user actions such as creating a business, clicking links, or encountering errors.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Some callbacks are `,_jsx(_components.strong,{children:`blocking`}),` (they prevent the default behavior unless explicitly continued), while others are `,_jsx(_components.strong,{children:`non-blocking`}),` (the Partoo App continues its normal flow).`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`setting-up-a-callback`,children:`Setting Up a Callback`}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`.on(eventId, callback)`}),` method from the Partoo page instance to register an event listener.`]}),`\n`,_jsx(Heading,{level:`3`,id:`syntax`,children:`Syntax`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`partooPage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`eventId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`callbackFunction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`eventId`}),` — a string identifier for the event`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`callbackFunction`}),` — a JavaScript function that receives an event-specific `,_jsx(_components.code,{children:`data`}),` object`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` subscribeCallback`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'User subscribed to:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_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`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`partooPage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'subscribe'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`subscribeCallback`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`supported-callback-events`,children:`Supported Callback Events`}),`\n`,_jsx(Heading,{level:`3`,id:`subscribe`,children:_jsx(_components.code,{children:`subscribe`})}),`\n`,_jsxs(_components.p,{children:[`Triggered when a user clicks `,_jsx(_components.strong,{children:`Subscribe`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"productName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"presence_management\"`}),_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:` \"businesses\"`}),_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:`\"5a2ab4edb12ff67cba1b7e1b\"`}),_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:` \"org_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`709`}),_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:`\"SCEP du Caire\"`})]}),`\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(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`open_business`,children:_jsx(_components.code,{children:`open_business`})}),`\n`,_jsx(_components.p,{children:`Triggered when a user opens a business page.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data = \"5a2ab4edb12ff67cba1b7e1b\"`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`business_created`,children:_jsx(_components.code,{children:`business_created`})}),`\n`,_jsx(_components.p,{children:`Triggered after a business is created and saved.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This callback does `,_jsx(_components.strong,{children:`not`}),` block redirection to the business edit page.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data = \"5a2ab4edb12ff67cba1b7e1b\"`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`business_additional_info_updated`,children:_jsx(_components.code,{children:`business_additional_info_updated`})}),`\n`,_jsx(_components.p,{children:`Triggered when additional info is updated and saved.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is a non-blocking callback.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data = { ... }`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`business_address_updated`,children:_jsx(_components.code,{children:`business_address_updated`})}),`\n`,_jsx(_components.p,{children:`Triggered when address information is updated and saved.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is a non-blocking callback.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data = { ... }`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`business_contact_updated`,children:_jsx(_components.code,{children:`business_contact_updated`})}),`\n`,_jsx(_components.p,{children:`Triggered when contact details are updated.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is a non-blocking callback.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data = { ... }`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`business_description_updated`,children:_jsx(_components.code,{children:`business_description_updated`})}),`\n`,_jsx(_components.p,{children:`Triggered when a business description is updated.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is a non-blocking callback.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data = { ... }`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`business_open_hours_updated`,children:_jsx(_components.code,{children:`business_open_hours_updated`})}),`\n`,_jsx(_components.p,{children:`Triggered when open hours are updated and saved.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This is a non-blocking callback.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data = { ... }`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`error`,children:_jsx(_components.code,{children:`error`})}),`\n`,_jsx(_components.p,{children:`Triggered when a rendering error occurs (e.g. HTTP 400, 403, 404, 500).`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// data = 403`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // HTTP status code`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`no_business_click`,children:_jsx(_components.code,{children:`no_business_click`})}),`\n`,_jsxs(_components.p,{children:[`Triggered when the `,_jsx(_components.strong,{children:`No Business`}),` button is clicked.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`partooPage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'no_business_click'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle click event`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`no_eligible_business_click`,children:_jsx(_components.code,{children:`no_eligible_business_click`})}),`\n`,_jsxs(_components.p,{children:[`Triggered when the `,_jsx(_components.strong,{children:`No Eligible Business`}),` button is clicked.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`partooPage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'no_eligible_business_click'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle click event`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`pm_view_go_to_edit_click`,children:_jsx(_components.code,{children:`pm_view_go_to_edit_click`})}),`\n`,_jsxs(_components.p,{children:[`Triggered when a user clicks `,_jsx(_components.strong,{children:`Edit`}),` in the Presence Management view.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`partooPage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'pm_view_go_to_edit_click'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle redirection to business edit`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`pm_view_go_to_partner_connection_click`,children:_jsx(_components.code,{children:`pm_view_go_to_partner_connection_click`})}),`\n`,_jsxs(_components.p,{children:[`Triggered when a user clicks a link to go to `,_jsx(_components.strong,{children:`Partner Connection`}),` from Presence Management.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`partooPage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'pm_view_go_to_partner_connection_click'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle redirection to connection view`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Use callback data to sync user actions with your backend, trigger alerts, or log analytics events in real-time.`})})]})}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":"Events \u0026 Callbacks","description":null,"href":"/guides/sdk/guides/events-callbacks"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Capturing Partoo App Events with Callbacks","slug":"capturing-partoo-app-events-with-callbacks","depth":2,"children":[]},{"title":"Setting Up a Callback","slug":"setting-up-a-callback","depth":2,"children":[{"title":"Syntax","slug":"syntax","depth":3,"children":[]},{"title":"Example","slug":"example","depth":3,"children":[]}]},{"title":"Supported Callback Events","slug":"supported-callback-events","depth":2,"children":[{"title":"subscribe","slug":"subscribe","depth":3,"children":[]},{"title":"open_business","slug":"open_business","depth":3,"children":[]},{"title":"business_created","slug":"business_created","depth":3,"children":[]},{"title":"business_additional_info_updated","slug":"business_additional_info_updated","depth":3,"children":[]},{"title":"business_address_updated","slug":"business_address_updated","depth":3,"children":[]},{"title":"business_contact_updated","slug":"business_contact_updated","depth":3,"children":[]},{"title":"business_description_updated","slug":"business_description_updated","depth":3,"children":[]},{"title":"business_open_hours_updated","slug":"business_open_hours_updated","depth":3,"children":[]},{"title":"error","slug":"error","depth":3,"children":[]},{"title":"no_business_click","slug":"no_business_click","depth":3,"children":[]},{"title":"no_eligible_business_click","slug":"no_eligible_business_click","depth":3,"children":[]},{"title":"pm_view_go_to_edit_click","slug":"pm_view_go_to_edit_click","depth":3,"children":[]},{"title":"pm_view_go_to_partner_connection_click","slug":"pm_view_go_to_partner_connection_click","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/partoo/9c46dd6e2258b878/commitlint.config.js"],"subdomain":"partoo","siteName":"Partoo API","title":"Events \u0026 Callbacks - Partoo API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T14:00:37.859Z","originalFileLocation":"guides/sdk/guides/events-callbacks.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=\"application-name\" content=\"Partoo API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/partoo/iSD9OpeAJmM-nq5n/_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/partoo/iSD9OpeAJmM-nq5n/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/partoo/iSD9OpeAJmM-nq5n/_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/partoo/iSD9OpeAJmM-nq5n/_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/partoo/iSD9OpeAJmM-nq5n/_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/partoo/iSD9OpeAJmM-nq5n/_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/partoo/iSD9OpeAJmM-nq5n/_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/partoo/iSD9OpeAJmM-nq5n/_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/partoo/iSD9OpeAJmM-nq5n/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Events \u0026amp; Callbacks - Partoo API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Partoo API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.partoo.co/guides/sdk/guides/events-callbacks\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://partoo.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Events+%26+Callbacks\u0026amp;theme=10a1c833671e6109cc4722f3\u0026amp;signature=9422a542d248774cf7bfba53a285139e6e5fb37a7b87a36f4dad65bd89075d5c\">\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=\"Events \u0026amp; Callbacks - Partoo API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://partoo.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Events+%26+Callbacks\u0026amp;theme=10a1c833671e6109cc4722f3\u0026amp;signature=9422a542d248774cf7bfba53a285139e6e5fb37a7b87a36f4dad65bd89075d5c\">\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/partoo/iSD9OpeAJmM-nq5n/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Partoo API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0266F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.partoo.co/guides/sdk/guides/events-callbacks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/sdk/guides/events-callbacks.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.partoo.co/#organization\",\"name\":\"Partoo API\",\"url\":\"https://developers.partoo.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/partoo/TsLSUe0VyG69h3IT/assets/logo/partoo_logo_light.svg?fit=max\u0026auto=format\u0026n=TsLSUe0VyG69h3IT\u0026q=85\u0026s=c2706dd9b3d972be1546dde374b38064\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.partoo.co#website\",\"name\":\"Partoo API\",\"url\":\"https://developers.partoo.co\",\"publisher\":{\"@id\":\"https://developers.partoo.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.partoo.co/guides/sdk/guides/events-callbacks#webpage\",\"url\":\"https://developers.partoo.co/guides/sdk/guides/events-callbacks\",\"name\":\"Events \u0026 Callbacks\",\"dateModified\":\"2026-10-28T14:00:37.859Z\",\"isPartOf\":{\"@id\":\"https://developers.partoo.co#website\"},\"breadcrumb\":{\"@id\":\"https://developers.partoo.co/guides/sdk/guides/events-callbacks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.partoo.co/guides/sdk/guides/events-callbacks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://developers.partoo.co/guides/sdk/guides/authenticate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Events \u0026 Callbacks\",\"item\":\"https://developers.partoo.co/guides/sdk/guides/events-callbacks\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.partoo.co/guides/sdk/guides/events-callbacks#article\",\"headline\":\"Events \u0026 Callbacks\",\"name\":\"Events \u0026 Callbacks\",\"url\":\"https://developers.partoo.co/guides/sdk/guides/events-callbacks\",\"mainEntityOfPage\":{\"@id\":\"https://developers.partoo.co/guides/sdk/guides/events-callbacks#webpage\"},\"dateModified\":\"2026-10-28T14:00:37.859Z\",\"publisher\":{\"@id\":\"https://developers.partoo.co/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.partoo.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Partoo API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Partoo API","nav":{"global":{"anchors":[{"anchor":"Contact Us","icon":"envelope","href":"/misc/help/how-to-get-help"},{"anchor":"Status Page","icon":"wrench","href":"https://status.partoo.co"},{"anchor":"OpenAPI Spec","icon":"download","href":"/misc/help/openapi-download"}]},"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"API Guides","pages":[{"title":"API Guides","href":"/guides/api/getting-started/getting-started"}]},{"tab":"SDK Guides","groups":[{"group":"Quickstart","icon":"bolt","pages":[{"title":"Tutorial","href":"/guides/sdk/getting-started/quickstart"}]},{"group":"Guides","icon":"book-open","pages":[{"title":"Authenticate","description":null,"href":"/guides/sdk/guides/authenticate"},{"title":"Events \u0026 Callbacks","href":"/guides/sdk/guides/events-callbacks"},{"title":"Integration","description":"Learn how to integrate and navigate between Partoo pages inside your application using the SDK.","href":"/guides/sdk/guides/integration"}]},{"group":"References","icon":"brackets-curly","pages":[{"title":"Partoo SDK Reference","href":"/guides/sdk/references/reference"},{"title":"Supported Routes","href":"/guides/sdk/references/supported-routes"}]},{"group":"Misc","icon":"paperclip","pages":[{"title":"How to get help?","href":"/misc/help/how-to-get-help"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/apikeys/list-user-api-keys"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/guides/mcp/overview"}]},{"tab":"Changelogs","pages":[{"title":"Changelogs","href":"/changelogs/api/changelogs"}]}]},"basePath":"","title":"Events \u0026 Callbacks - Partoo API","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":[],"chunks":[]}