{ "$result_object_key": { "completed_at": "The timestamp when the operation completed", "results": { "business_unit_id": "The business unit ID", "channel": "The communication channel", "legal_basis": "The legal basis for the subscription status", "legal_basis_explanation": "The legal basis explanation", "set_status_success_reason": "The reason the status was set successfully", "source": "The source of the subscription status", "status": "The status of this subscription update", "subscriber_id_string": "The contact identifier (email or contact ID)", "subscription_id": "The unique identifier of the subscription", "subscription_name": "The name of the subscription", "timestamp": "The timestamp of the status change" }, "started_at": "The timestamp when the operation started", "status": "The status of the operation" }}
v1
Update Communication Preferences
Documentation for the Update Communication Preferences action for Hubspot
{ "$result_object_key": { "completed_at": "The timestamp when the operation completed", "results": { "business_unit_id": "The business unit ID", "channel": "The communication channel", "legal_basis": "The legal basis for the subscription status", "legal_basis_explanation": "The legal basis explanation", "set_status_success_reason": "The reason the status was set successfully", "source": "The source of the subscription status", "status": "The status of this subscription update", "subscriber_id_string": "The contact identifier (email or contact ID)", "subscription_id": "The unique identifier of the subscription", "subscription_name": "The name of the subscription", "timestamp": "The timestamp of the status change" }, "started_at": "The timestamp when the operation started", "status": "The status of the operation" }}
{ "$result_object_key": { "completed_at": "The timestamp when the operation completed", "results": { "business_unit_id": "The business unit ID", "channel": "The communication channel", "legal_basis": "The legal basis for the subscription status", "legal_basis_explanation": "The legal basis explanation", "set_status_success_reason": "The reason the status was set successfully", "source": "The source of the subscription status", "status": "The status of this subscription update", "subscriber_id_string": "The contact identifier (email or contact ID)", "subscription_id": "The unique identifier of the subscription", "subscription_name": "The name of the subscription", "timestamp": "The timestamp of the status change" }, "started_at": "The timestamp when the operation started", "status": "The status of the operation" }}
You can use the result of the action’s data as inputs to downstream workflow actions.Each fetch action requires an object name, which nests the action’s result data inside the downstream data context in the workflow. See Passing Data Between Actions for how to set it and reference the result from downstream nodes.Here we demonstrate how to refer to this data using the prefix $result_object_key.
Mapped array of: The source of the subscription status
CEL
$result_object_key.results.map(x, x.source)
Example
["Self Service Resubscription"]
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Morf Health","colors":{"primary":"#5063F6","light":"#6878F7","dark":"#384DF5"},"logo":{"light":"https://mintcdn.com/morfhealth/VPKyBRVuRAgQM-CM/logo.png?fit=max\u0026auto=format\u0026n=VPKyBRVuRAgQM-CM\u0026q=85\u0026s=78ff86e6532c6909974aa96483a29d63","dark":"https://mintcdn.com/morfhealth/VPKyBRVuRAgQM-CM/logo.png?fit=max\u0026auto=format\u0026n=VPKyBRVuRAgQM-CM\u0026q=85\u0026s=78ff86e6532c6909974aa96483a29d63","href":"https://morf.health"},"favicon":"https://mintcdn.com/morfhealth/4zxfvotdFqBvkrFr/favicon.png?fit=max\u0026auto=format\u0026n=4zxfvotdFqBvkrFr\u0026q=85\u0026s=183e2cee647a5fd4ffe33b21f61a121e","navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.morf.health"}},"footer":{"socials":{"github":"https://github.com/morfhealth"}},"seo":{"metatags":{"canonical":"https://www.morf.health/docs"}},"fonts":{"heading":{"family":"Cabin"},"body":{"family":"Cabin"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"morfhealth","hasAudioNarration":false,"actualSubdomain":"morfhealth","customDomains":["docs.morf.health","morf.health"],"gitSource":{"type":"github","owner":"morfhealth","repo":"morf3","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae39868d2ae171c4d630eec","collectionId":"d6efb7b6-cf33-4ced-973c-a3887f81127d","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae39868d2ae171c4d630eec"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae39868d2ae171c4d630eec","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Integrations","count":273},{"language":"default","tag":"Actions","count":172},{"language":"default","tag":"v1","count":171},{"language":"default","tag":"Events","count":100},{"language":"default","tag":"Healthie","count":60},{"language":"default","tag":"IntakeQ","count":20},{"language":"default","tag":"Hubspot","count":19},{"language":"default","tag":"Elation","count":18},{"language":"default","tag":"Morf","count":18},{"language":"default","tag":"Getting Started","count":17}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"actions/hubspot/v1/update_communication_preferences","slug":"/actions/hubspot/v1/update_communication_preferences","pageMetadata":{"title":"Update Communication Preferences","description":"Documentation for the Update Communication Preferences action for Hubspot","sidebarTitle":"Update Communication Preferences","href":"/actions/hubspot/v1/update_communication_preferences"},"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: \"Documentation for the Update Communication Preferences action for Hubspot\"\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,OptimizedImage,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=2c859a5e64b7620515d906bc05e45339`,alt:`images/hubspot.svg`,\"data-og-width\":`40`,width:`40`,\"data-og-height\":`40`,height:`40`,\"data-path\":`images/hubspot.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=280\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=018ae19b2a8bf16cb3b3ebd5f85f225e 280w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=560\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=17c35ab435a8f4027a8c76b7957adf49 560w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=840\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=07005eed068dcd7d77e0badd28fad6d3 840w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=c31358800c68c5bffaf46f8099777d96 1100w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=bee4e188101caa217a15b6fd339f426b 1650w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=af04db8cc56784af64d34e1185717185 2500w`}),`\n`,_jsx(Heading,{level:`1`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(ResponseField,{name:`Action`,type:`Parameters`,id:`param-action`,children:_jsxs(Expandable,{title:`parameters`,defaultOpen:`true`,children:[_jsx(ResponseField,{name:`Subscriber ID`,type:`string`,required:true,id:`param-subscriber-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ID`}),` `,_jsx(_components.code,{children:`PII`}),`\nThis field maps to the destination API `,_jsx(_components.code,{children:`subscriber_id_string`}),` field.`]})}),_jsxs(ResponseField,{name:`Channel`,type:`hubspot.v1.CommunicationChannel`,required:true,id:`param-channel`,children:[_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`channel`}),` field.`]}),_jsx(CodeBlock,{filename:`Allowed Enumeration Values`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`COMMUNICATION_CHANNEL_EMAIL`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`Status State`,type:`hubspot.v1.CommunicationStatusState`,required:true,id:`param-status-state`,children:[_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`status_state`}),` field.`]}),_jsx(CodeBlock,{filename:`Allowed Enumeration Values`,numberOfLines:`3`,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:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`COMMUNICATION_STATUS_STATE_SUBSCRIBED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`COMMUNICATION_STATUS_STATE_UNSUBSCRIBED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`COMMUNICATION_STATUS_STATE_NOT_SPECIFIED`})}),`\n`]})})})]}),_jsx(ResponseField,{name:`Subscription ID`,type:`string (Subscription ID)`,required:true,id:`param-subscription-id`,children:_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`subscription_id`}),` field.`]})}),_jsxs(ResponseField,{name:`Legal Basis`,type:`hubspot.v1.LegalBasis`,id:`param-legal-basis`,children:[_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`legal_basis`}),` field.`]}),_jsx(CodeBlock,{filename:`Allowed Enumeration Values`,numberOfLines:`7`,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:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_LEGITIMATE_INTEREST_PQL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_LEGITIMATE_INTEREST_CLIENT`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_PERFORMANCE_OF_CONTRACT`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_CONSENT_WITH_NOTICE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_NON_GDPR`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_PROCESS_AND_STORE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_LEGITIMATE_INTEREST_OTHER`})}),`\n`]})})})]}),_jsx(ResponseField,{name:`Legal Basis Explanation`,type:`string`,id:`param-legal-basis-explanation`,children:_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`legal_basis_explanation`}),` field.`]})})]})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`3`,id:`result-object-field-details`,children:`Result Object Field Details`}),`\n`,_jsx(_components.p,{children:`You can use the result of the action’s data as inputs to downstream workflow actions.`}),`\n`,_jsxs(_components.p,{children:[`Each fetch action requires an object name, which nests the action’s result data inside the downstream data context in the workflow. See `,_jsx(_components.a,{href:`/knowledge_base/passing_data_between_actions`,children:`Passing Data Between Actions`}),` for how to set it and reference the result from downstream nodes.`]}),`\n`,_jsxs(_components.p,{children:[`Here we demonstrate how to refer to this data using the prefix `,_jsx(_components.code,{children:`$result_object_key`}),`.`]}),`\n`,_jsx(ResponseField,{name:`UpdateCommunicationPreferencesResult`,type:`Fetch Action Response Object`,id:`param-update-communication-preferences-result`,children:_jsxs(Expandable,{title:`fields`,defaultOpen:`true`,children:[_jsxs(ResponseField,{name:`completed_at`,type:`timing.v1.Timestamp`,required:true,id:`param-completed-at`,children:[_jsx(_components.p,{children:`The timestamp when the operation completed`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.completed_at`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`started_at`,type:`timing.v1.Timestamp`,required:true,id:`param-started-at`,children:[_jsx(_components.p,{children:`The timestamp when the operation started`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.started_at`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`status`,type:`hubspot.v1.CommunicationPreferencesStatus`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`The status of the operation`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.status`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationPreferencesStatus.COMMUNICATION_PREFERENCES_STATUS_PENDING`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationPreferencesStatus.COMMUNICATION_PREFERENCES_STATUS_PROCESSING`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationPreferencesStatus.COMMUNICATION_PREFERENCES_STATUS_CANCELED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationPreferencesStatus.COMMUNICATION_PREFERENCES_STATUS_COMPLETE`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results`,type:`[]object`,required:true,id:`param-results`,children:[_jsx(_components.p,{children:`Per-subscription update results`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`15`,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:`15`,children:[_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:`\"business_unit_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EMAIL\"`}),_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:`\"legal_basis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LEGITIMATE_INTEREST_PQL\"`}),_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:`\"legal_basis_explanation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"set_status_success_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REQUESTED_CHANGE_OCCURRED\"`}),_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:`\"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Self Service Resubscription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UNSUBSCRIBED\"`}),_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:`\"subscriber_id_string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"subscription_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_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:`\"subscription_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Marketing Information\"`}),_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\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(ResponseField,{name:`channel`,type:`hubspot.v1.CommunicationChannel`,required:true,id:`param-channel-1`,children:[_jsx(_components.p,{children:`Mapped array of: The communication channel`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`channel`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationChannel.COMMUNICATION_CHANNEL_EMAIL`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`status`,type:`hubspot.v1.CommunicationStatusState`,required:true,id:`param-status-1`,children:[_jsx(_components.p,{children:`Mapped array of: The status of this subscription update`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`status`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationStatusState.COMMUNICATION_STATUS_STATE_SUBSCRIBED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationStatusState.COMMUNICATION_STATUS_STATE_UNSUBSCRIBED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationStatusState.COMMUNICATION_STATUS_STATE_NOT_SPECIFIED`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.subscriber_id_string)`,type:`[]string`,required:true,id:`param-results-map-x-x-subscriber-id-string`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PII`}),` Mapped array of: The contact identifier (email or contact ID)`]}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.subscriber_id_string)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user@example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.subscription_id)`,type:`[]int64`,required:true,id:`param-results-map-x-x-subscription-id`,children:[_jsx(_components.p,{children:`Mapped array of: The unique identifier of the subscription`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.subscription_id)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.subscription_name)`,type:`[]string`,required:true,id:`param-results-map-x-x-subscription-name`,children:[_jsx(_components.p,{children:`Mapped array of: The name of the subscription`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.subscription_name)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Marketing Information\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.timestamp)`,type:`[]timing.v1.Timestamp`,required:true,id:`param-results-map-x-x-timestamp`,children:[_jsx(_components.p,{children:`Mapped array of: The timestamp of the status change`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.timestamp)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`legal_basis`,type:`hubspot.v1.LegalBasis`,id:`param-legal-basis-1`,children:[_jsx(_components.p,{children:`Mapped array of: The legal basis for the subscription status`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`legal_basis`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`7`,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:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_LEGITIMATE_INTEREST_PQL`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_LEGITIMATE_INTEREST_CLIENT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_PERFORMANCE_OF_CONTRACT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_CONSENT_WITH_NOTICE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_NON_GDPR`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_PROCESS_AND_STORE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_LEGITIMATE_INTEREST_OTHER`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`set_status_success_reason`,type:`hubspot.v1.SetStatusSuccessReason`,required:true,id:`param-set-status-success-reason`,children:[_jsx(_components.p,{children:`Mapped array of: The reason the status was set successfully`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`set_status_success_reason`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.SetStatusSuccessReason.SET_STATUS_SUCCESS_REASON_NO_STATUS_CHANGE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.SetStatusSuccessReason.SET_STATUS_SUCCESS_REASON_REQUESTED_CHANGE_OCCURRED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.SetStatusSuccessReason.SET_STATUS_SUCCESS_REASON_RESUBSCRIBE_OCCURRED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.SetStatusSuccessReason.SET_STATUS_SUCCESS_REASON_UNSUBSCRIBE_FROM_ALL_OCCURRED`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.legal_basis_explanation)`,type:`[]string`,required:true,id:`param-results-map-x-x-legal-basis-explanation`,children:[_jsx(_components.p,{children:`Mapped array of: The legal basis explanation`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.legal_basis_explanation)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.business_unit_id)`,type:`[]int64`,required:true,id:`param-results-map-x-x-business-unit-id`,children:[_jsx(_components.p,{children:`Mapped array of: The business unit ID`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.business_unit_id)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.source)`,type:`[]string`,required:true,id:`param-results-map-x-x-source`,children:[_jsx(_components.p,{children:`Mapped array of: The source of the subscription status`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.source)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Self Service Resubscription\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Communication Preferences","description":"Documentation for the Update Communication Preferences action for Hubspot","sidebarTitle":"Update Communication Preferences","href":"/actions/hubspot/v1/update_communication_preferences"}}},"mdxSourceWithNoJs":{"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,OptimizedImage,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=2c859a5e64b7620515d906bc05e45339`,alt:`images/hubspot.svg`,\"data-og-width\":`40`,width:`40`,\"data-og-height\":`40`,height:`40`,\"data-path\":`images/hubspot.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=280\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=018ae19b2a8bf16cb3b3ebd5f85f225e 280w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=560\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=17c35ab435a8f4027a8c76b7957adf49 560w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=840\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=07005eed068dcd7d77e0badd28fad6d3 840w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=c31358800c68c5bffaf46f8099777d96 1100w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=bee4e188101caa217a15b6fd339f426b 1650w, https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=EU2WCxuXGIUQcziR\u0026q=85\u0026s=af04db8cc56784af64d34e1185717185 2500w`}),`\n`,_jsx(Heading,{level:`1`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(ResponseField,{name:`Action`,type:`Parameters`,id:`param-action`,children:_jsxs(Expandable,{title:`parameters`,defaultOpen:`true`,children:[_jsx(ResponseField,{name:`Subscriber ID`,type:`string`,required:true,id:`param-subscriber-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ID`}),` `,_jsx(_components.code,{children:`PII`}),`\nThis field maps to the destination API `,_jsx(_components.code,{children:`subscriber_id_string`}),` field.`]})}),_jsxs(ResponseField,{name:`Channel`,type:`hubspot.v1.CommunicationChannel`,required:true,id:`param-channel`,children:[_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`channel`}),` field.`]}),_jsx(CodeBlock,{filename:`Allowed Enumeration Values`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`COMMUNICATION_CHANNEL_EMAIL`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`Status State`,type:`hubspot.v1.CommunicationStatusState`,required:true,id:`param-status-state`,children:[_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`status_state`}),` field.`]}),_jsx(CodeBlock,{filename:`Allowed Enumeration Values`,numberOfLines:`3`,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:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`COMMUNICATION_STATUS_STATE_SUBSCRIBED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`COMMUNICATION_STATUS_STATE_UNSUBSCRIBED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`COMMUNICATION_STATUS_STATE_NOT_SPECIFIED`})}),`\n`]})})})]}),_jsx(ResponseField,{name:`Subscription ID`,type:`string (Subscription ID)`,required:true,id:`param-subscription-id`,children:_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`subscription_id`}),` field.`]})}),_jsxs(ResponseField,{name:`Legal Basis`,type:`hubspot.v1.LegalBasis`,id:`param-legal-basis`,children:[_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`legal_basis`}),` field.`]}),_jsx(CodeBlock,{filename:`Allowed Enumeration Values`,numberOfLines:`7`,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:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_LEGITIMATE_INTEREST_PQL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_LEGITIMATE_INTEREST_CLIENT`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_PERFORMANCE_OF_CONTRACT`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_CONSENT_WITH_NOTICE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_NON_GDPR`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_PROCESS_AND_STORE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LEGAL_BASIS_LEGITIMATE_INTEREST_OTHER`})}),`\n`]})})})]}),_jsx(ResponseField,{name:`Legal Basis Explanation`,type:`string`,id:`param-legal-basis-explanation`,children:_jsxs(_components.p,{children:[`This field maps to the destination API `,_jsx(_components.code,{children:`legal_basis_explanation`}),` field.`]})})]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Result Object Example`,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"$result_object_key\"`}),_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:` \"completed_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"results\"`}),_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:` \"business_unit_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EMAIL\"`}),_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:` \"legal_basis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LEGITIMATE_INTEREST_PQL\"`}),_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:` \"legal_basis_explanation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"set_status_success_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REQUESTED_CHANGE_OCCURRED\"`}),_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:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Self Service Resubscription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UNSUBSCRIBED\"`}),_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:` \"subscriber_id_string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subscription_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_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:` \"subscription_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Marketing Information\"`}),_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\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:` \"started_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"COMPLETE\"`})]}),`\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(ResponseExample,{children:_jsx(CodeBlock,{filename:`Result Object Description`,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"$result_object_key\"`}),_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:` \"completed_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The timestamp when the operation completed\"`}),_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:` \"results\"`}),_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:` \"business_unit_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The business unit 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:` \"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The communication channel\"`}),_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:` \"legal_basis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The legal basis for the subscription status\"`}),_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:` \"legal_basis_explanation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The legal basis explanation\"`}),_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:` \"set_status_success_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The reason the status was set successfully\"`}),_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:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The source of the subscription status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The status of this subscription update\"`}),_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:` \"subscriber_id_string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The contact identifier (email or contact 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:` \"subscription_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The unique identifier of the subscription\"`}),_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:` \"subscription_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The name of the subscription\"`}),_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:`\"The timestamp of the status change\"`})]}),`\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:` \"started_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The timestamp when the operation started\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The status of the operation\"`})]}),`\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:`3`,id:`result-object-field-details`,children:`Result Object Field Details`}),`\n`,_jsx(_components.p,{children:`You can use the result of the action’s data as inputs to downstream workflow actions.`}),`\n`,_jsxs(_components.p,{children:[`Each fetch action requires an object name, which nests the action’s result data inside the downstream data context in the workflow. See `,_jsx(_components.a,{href:`/knowledge_base/passing_data_between_actions`,children:`Passing Data Between Actions`}),` for how to set it and reference the result from downstream nodes.`]}),`\n`,_jsxs(_components.p,{children:[`Here we demonstrate how to refer to this data using the prefix `,_jsx(_components.code,{children:`$result_object_key`}),`.`]}),`\n`,_jsx(ResponseField,{name:`UpdateCommunicationPreferencesResult`,type:`Fetch Action Response Object`,id:`param-update-communication-preferences-result`,children:_jsxs(Expandable,{title:`fields`,defaultOpen:`true`,children:[_jsxs(ResponseField,{name:`completed_at`,type:`timing.v1.Timestamp`,required:true,id:`param-completed-at`,children:[_jsx(_components.p,{children:`The timestamp when the operation completed`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.completed_at`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`started_at`,type:`timing.v1.Timestamp`,required:true,id:`param-started-at`,children:[_jsx(_components.p,{children:`The timestamp when the operation started`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.started_at`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`status`,type:`hubspot.v1.CommunicationPreferencesStatus`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`The status of the operation`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.status`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationPreferencesStatus.COMMUNICATION_PREFERENCES_STATUS_PENDING`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationPreferencesStatus.COMMUNICATION_PREFERENCES_STATUS_PROCESSING`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationPreferencesStatus.COMMUNICATION_PREFERENCES_STATUS_CANCELED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationPreferencesStatus.COMMUNICATION_PREFERENCES_STATUS_COMPLETE`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results`,type:`[]object`,required:true,id:`param-results`,children:[_jsx(_components.p,{children:`Per-subscription update results`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`15`,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:`15`,children:[_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:`\"business_unit_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EMAIL\"`}),_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:`\"legal_basis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LEGITIMATE_INTEREST_PQL\"`}),_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:`\"legal_basis_explanation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"set_status_success_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REQUESTED_CHANGE_OCCURRED\"`}),_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:`\"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Self Service Resubscription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UNSUBSCRIBED\"`}),_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:`\"subscriber_id_string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"subscription_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_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:`\"subscription_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Marketing Information\"`}),_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\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(ResponseField,{name:`channel`,type:`hubspot.v1.CommunicationChannel`,required:true,id:`param-channel-1`,children:[_jsx(_components.p,{children:`Mapped array of: The communication channel`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`channel`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationChannel.COMMUNICATION_CHANNEL_EMAIL`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`status`,type:`hubspot.v1.CommunicationStatusState`,required:true,id:`param-status-1`,children:[_jsx(_components.p,{children:`Mapped array of: The status of this subscription update`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`status`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationStatusState.COMMUNICATION_STATUS_STATE_SUBSCRIBED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationStatusState.COMMUNICATION_STATUS_STATE_UNSUBSCRIBED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.CommunicationStatusState.COMMUNICATION_STATUS_STATE_NOT_SPECIFIED`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.subscriber_id_string)`,type:`[]string`,required:true,id:`param-results-map-x-x-subscriber-id-string`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PII`}),` Mapped array of: The contact identifier (email or contact ID)`]}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.subscriber_id_string)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user@example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.subscription_id)`,type:`[]int64`,required:true,id:`param-results-map-x-x-subscription-id`,children:[_jsx(_components.p,{children:`Mapped array of: The unique identifier of the subscription`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.subscription_id)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.subscription_name)`,type:`[]string`,required:true,id:`param-results-map-x-x-subscription-name`,children:[_jsx(_components.p,{children:`Mapped array of: The name of the subscription`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.subscription_name)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Marketing Information\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.timestamp)`,type:`[]timing.v1.Timestamp`,required:true,id:`param-results-map-x-x-timestamp`,children:[_jsx(_components.p,{children:`Mapped array of: The timestamp of the status change`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.timestamp)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`legal_basis`,type:`hubspot.v1.LegalBasis`,id:`param-legal-basis-1`,children:[_jsx(_components.p,{children:`Mapped array of: The legal basis for the subscription status`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`legal_basis`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`7`,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:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_LEGITIMATE_INTEREST_PQL`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_LEGITIMATE_INTEREST_CLIENT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_PERFORMANCE_OF_CONTRACT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_CONSENT_WITH_NOTICE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_NON_GDPR`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_PROCESS_AND_STORE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LegalBasis.LEGAL_BASIS_LEGITIMATE_INTEREST_OTHER`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`set_status_success_reason`,type:`hubspot.v1.SetStatusSuccessReason`,required:true,id:`param-set-status-success-reason`,children:[_jsx(_components.p,{children:`Mapped array of: The reason the status was set successfully`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`set_status_success_reason`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.SetStatusSuccessReason.SET_STATUS_SUCCESS_REASON_NO_STATUS_CHANGE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.SetStatusSuccessReason.SET_STATUS_SUCCESS_REASON_REQUESTED_CHANGE_OCCURRED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.SetStatusSuccessReason.SET_STATUS_SUCCESS_REASON_RESUBSCRIBE_OCCURRED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hubspot.v`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.SetStatusSuccessReason.SET_STATUS_SUCCESS_REASON_UNSUBSCRIBE_FROM_ALL_OCCURRED`})]}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.legal_basis_explanation)`,type:`[]string`,required:true,id:`param-results-map-x-x-legal-basis-explanation`,children:[_jsx(_components.p,{children:`Mapped array of: The legal basis explanation`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.legal_basis_explanation)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.business_unit_id)`,type:`[]int64`,required:true,id:`param-results-map-x-x-business-unit-id`,children:[_jsx(_components.p,{children:`Mapped array of: The business unit ID`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.business_unit_id)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]}),_jsxs(ResponseField,{name:`results.map(x, x.source)`,type:`[]string`,required:true,id:`param-results-map-x-x-source`,children:[_jsx(_components.p,{children:`Mapped array of: The source of the subscription status`}),_jsx(CodeBlock,{filename:`CEL`,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$result_object_key.results.map(x, x.source)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Example`,numberOfLines:`3`,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:`3`,children:[_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Self Service Resubscription\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})})]})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Communication Preferences","description":"Documentation for the Update Communication Preferences action for Hubspot","sidebarTitle":"Update Communication Preferences","href":"/actions/hubspot/v1/update_communication_preferences"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Parameters","slug":"parameters","depth":1,"children":[{"title":"Result Object Field Details","slug":"result-object-field-details","depth":3,"children":[]}]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Result Object Example","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"22\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"$result_object_key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"completed_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"results\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"business_unit_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"channel\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"EMAIL\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"legal_basis\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"LEGITIMATE_INTEREST_PQL\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"legal_basis_explanation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"set_status_success_reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"REQUESTED_CHANGE_OCCURRED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Self Service Resubscription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"UNSUBSCRIBED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subscriber_id_string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subscription_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subscription_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Marketing Information\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"started_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"COMPLETE\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Result Object Description","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"$result_object_key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"completed_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The timestamp when the operation completed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"results\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"business_unit_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The business unit ID\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"channel\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The communication channel\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"legal_basis\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The legal basis for the subscription status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"legal_basis_explanation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The legal basis explanation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"set_status_success_reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The reason the status was set successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The source of the subscription status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The status of this subscription update\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subscriber_id_string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The contact identifier (email or contact ID)\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subscription_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The unique identifier of the subscription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subscription_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The name of the subscription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The timestamp of the status change\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"started_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The timestamp when the operation started\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The status of the operation\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"morfhealth","siteName":"Morf Health","title":"Update Communication Preferences - Morf Health","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-21T17:24:09.021Z","originalFileLocation":"actions/hubspot/v1/update_communication_preferences.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Documentation for the Update Communication Preferences action for Hubspot\">\u003cmeta data-mint-head name=\"application-name\" content=\"Morf Health\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_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=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Communication Preferences - Morf Health\">\u003cmeta data-mint-head property=\"og:description\" content=\"Documentation for the Update Communication Preferences action for Hubspot\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Morf Health\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://morfhealth.mintlify.app/_mintlify/api/og/v2?division=v1\u0026amp;title=Update+Communication+Preferences\u0026amp;description=Documentation+for+the+Update+Communication+Preferences+action+for+Hubspot\u0026amp;theme=c074dee64879bea68af1666c\u0026amp;signature=3a884b638f45d1b6adadd0351cb082eb1eff0e3bb42066d53e60483ed9506c29\">\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=\"Update Communication Preferences - Morf Health\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Documentation for the Update Communication Preferences action for Hubspot\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://morfhealth.mintlify.app/_mintlify/api/og/v2?division=v1\u0026amp;title=Update+Communication+Preferences\u0026amp;description=Documentation+for+the+Update+Communication+Preferences+action+for+Hubspot\u0026amp;theme=c074dee64879bea68af1666c\u0026amp;signature=3a884b638f45d1b6adadd0351cb082eb1eff0e3bb42066d53e60483ed9506c29\">\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=\"/docs/mintlify-assets/_mintlify/favicons/morfhealth/DVBkTc9QO8dP7Qug/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Morf Health\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5063F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/actions/hubspot/v1/update_communication_preferences.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.morf.health/#organization\",\"name\":\"Morf Health\",\"url\":\"https://www.morf.health\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/morfhealth/VPKyBRVuRAgQM-CM/logo.png?fit=max\u0026auto=format\u0026n=VPKyBRVuRAgQM-CM\u0026q=85\u0026s=78ff86e6532c6909974aa96483a29d63\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.morf.health/docs#website\",\"name\":\"Morf Health\",\"url\":\"https://www.morf.health/docs\",\"publisher\":{\"@id\":\"https://www.morf.health/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences#webpage\",\"url\":\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences\",\"name\":\"Update Communication Preferences\",\"description\":\"Documentation for the Update Communication Preferences action for Hubspot\",\"dateModified\":\"2026-09-21T17:24:09.021Z\",\"isPartOf\":{\"@id\":\"https://www.morf.health/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Actions\",\"item\":\"https://www.morf.health/docs/actions/active_campaign/v1/create_or_update_account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hubspot\",\"item\":\"https://www.morf.health/docs/actions/hubspot/v1/create_file\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"v1\",\"item\":\"https://www.morf.health/docs/actions/hubspot/v1/create_file\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Update Communication Preferences\",\"item\":\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences#article\",\"headline\":\"Update Communication Preferences\",\"name\":\"Update Communication Preferences\",\"description\":\"Documentation for the Update Communication Preferences action for Hubspot\",\"url\":\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences\",\"mainEntityOfPage\":{\"@id\":\"https://www.morf.health/docs/actions/hubspot/v1/update_communication_preferences#webpage\"},\"dateModified\":\"2026-09-21T17:24:09.021Z\",\"publisher\":{\"@id\":\"https://www.morf.health/#organization\"},\"isPartOf\":{\"@id\":\"https://www.morf.health/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Morf Health\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Morf Health","nav":{"global":null,"dropdowns":[{"dropdown":"Getting Started","icon":"book","groups":[{"group":"Morf Dashboard","pages":[{"title":"Overview","icon":"rocket","sidebarTitle":"Overview","href":"/morf_dashboard/overview"},{"title":"Workflows","icon":"bolt-lightning","sidebarTitle":"Workflows","href":"/morf_dashboard/workflows"},{"title":"Morf Profiles","icon":"users","sidebarTitle":"Profiles","href":"/morf_dashboard/profiles"},{"title":"Morf Providers","icon":"id-card","sidebarTitle":"Providers","href":"/morf_dashboard/providers"},{"title":"Monitoring Global Activity","icon":"chart-line","sidebarTitle":"Monitoring","href":"/morf_dashboard/monitoring"},{"title":"FAQ","icon":"question","sidebarTitle":"FAQ","href":"/morf_dashboard/faq"}]},{"group":"Morf Scheduling","pages":[{"title":"Overview","icon":"rocket","sidebarTitle":"Overview","href":"/morf_questions/overview"},{"title":"Basic View","icon":"calendar-week","sidebarTitle":"Basic View","href":"/morf_questions/basic_view"},{"title":"Providers View","icon":"calendar-days","sidebarTitle":"Providers View","href":"/morf_questions/providers_view"},{"title":"Provider Profile View","icon":"user-doctor","sidebarTitle":"Provider Profile View","href":"/morf_questions/provider_profile_view"},{"title":"Cancel / Reschedule","icon":"calendar","sidebarTitle":"Cancel / Reschedule","href":"/morf_questions/reschedule"},{"title":"Schedule Appointment","icon":"code","sidebarTitle":"Schedule Appointment","href":"/morf_questions/schedule_appointment"},{"title":"Tracking","icon":"magnifying-glass","href":"/morf_questions/tracking"}]},{"group":"Common Expression Language","pages":[{"title":"Common Expression Language (CEL)","icon":"code","sidebarTitle":"CEL Reference","href":"/libraries/cel"},{"group":"CEL Examples","icon":"lightbulb","pages":[{"title":"Sending Appointment Communications","href":"/cel_expressions/use_cases/appointment-reminders"},{"title":"Form to Tool Syncing","href":"/cel_expressions/use_cases/form-routing"},{"title":"Data Transformation","href":"/cel_expressions/use_cases/data-transformation"}]}]}]},{"dropdown":"Integrations","icon":"plug","pages":[{"title":"Integration Catalog","icon":"lines-leaning","sidebarTitle":"Catalog","href":"/libraries/introduction"},{"group":"Events","icon":"webhook","pages":[{"group":"Active Campaign","pages":[{"title":"Get Started","href":"/events/payloads/active_campaign/get_started_active_campaign"},{"title":"Contact","sidebarTitle":"Contact","href":"/events/payloads/active_campaign/contact"},{"title":"Deal","sidebarTitle":"Deal","href":"/events/payloads/active_campaign/deal"}]},{"group":"Acuity","pages":[{"title":"Get Started","href":"/events/payloads/acuity/get_started_acuity"},{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/acuity/appointment"}]},{"group":"Aircall","pages":[{"title":"Aircall Setup Instructions","sidebarTitle":"Get Started","href":"/events/payloads/aircall/get_started"},{"title":"Message","sidebarTitle":"Message","href":"/events/payloads/aircall/message"}]},{"group":"Athena","pages":[{"title":"Get Started","href":"/events/payloads/athena/get_started_athena"},{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/athena/appointment"},{"title":"Patient","sidebarTitle":"Patient","href":"/events/payloads/athena/patient"}]},{"group":"Axle Health","pages":[{"title":"Get Started","href":"/events/payloads/axle_health/get_started_axle_health"},{"title":"Lab Results","sidebarTitle":"Lab Results","href":"/events/payloads/axle_health/lab_results"},{"title":"Visit","sidebarTitle":"Visit","href":"/events/payloads/axle_health/visit"}]},{"group":"Boulevard","pages":[{"title":"Get Started","href":"/events/payloads/boulevard/get_started_boulevard"},{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/boulevard/appointment"},{"title":"Order","sidebarTitle":"Order","href":"/events/payloads/boulevard/order"}]},{"group":"Butterfly Labs","pages":[{"title":"Get Started","href":"/events/payloads/butterfly_labs/get_started_butterfly_labs"},{"title":"Lab Results","sidebarTitle":"Lab Results","href":"/events/payloads/butterfly_labs/lab_results"},{"title":"Order","sidebarTitle":"Order","href":"/events/payloads/butterfly_labs/order"}]},{"group":"Calendly","pages":[{"title":"Get Started","href":"/events/payloads/calendly/get_started_calendly"},{"title":"Invitee","sidebarTitle":"Invitee","href":"/events/payloads/calendly/invitee"},{"title":"Routing Form Submission","sidebarTitle":"Routing Form Submission","href":"/events/payloads/calendly/routing_form_submission"}]},{"group":"Cerbo","pages":[{"title":"Patient","sidebarTitle":"Patient","href":"/events/payloads/cerbo/patient"}]},{"group":"Customer.io","pages":[{"title":"Get Started","sidebarTitle":"Get Started","href":"/events/payloads/customer_io/get_started_customer_io"},{"title":"Identify","sidebarTitle":"Identify","href":"/events/payloads/customer_io/identify"},{"title":"Page","sidebarTitle":"Page","href":"/events/payloads/customer_io/page"},{"title":"Track","sidebarTitle":"Track","href":"/events/payloads/customer_io/track"}]},{"group":"Dr Chrono","pages":[{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/dr_chrono/appointment"},{"title":"Patient","sidebarTitle":"Patient","href":"/events/payloads/dr_chrono/patient"}]},{"group":"Elation","pages":[{"title":"Get Started","href":"/events/payloads/elation/get_started_elation"},{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/elation/appointment"},{"title":"Lab Order","sidebarTitle":"Lab Order","href":"/events/payloads/elation/lab_order"},{"title":"Lab Test","sidebarTitle":"Lab Test","href":"/events/payloads/elation/lab_test"},{"title":"Message Thread","sidebarTitle":"Message Thread","href":"/events/payloads/elation/message_thread"},{"title":"Non Visit Note","sidebarTitle":"Non Visit Note","href":"/events/payloads/elation/non_visit_note"},{"title":"Patient","sidebarTitle":"Patient","href":"/events/payloads/elation/patient"},{"title":"Visit Note","sidebarTitle":"Visit Note","href":"/events/payloads/elation/visit_note"}]},{"group":"Feathery","pages":[{"title":"Get Started","href":"/events/payloads/feathery/get_started_feathery"},{"title":"Form Response","sidebarTitle":"Form Response","href":"/events/payloads/feathery/form_response"}]},{"group":"Formsort","pages":[{"title":"Get Started","href":"/events/payloads/formsort/get_started_formsort"},{"title":"Form Response","sidebarTitle":"Form Response","href":"/events/payloads/formsort/form_response"}]},{"group":"Healthie","pages":[{"title":"Get Started","href":"/events/payloads/healthie/get_started_healthie"},{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/healthie/appointment"},{"title":"Billing Item","sidebarTitle":"Billing Item","href":"/events/payloads/healthie/billing_item"},{"title":"Cms1500","sidebarTitle":"Cms1500","href":"/events/payloads/healthie/cms1500"},{"title":"Completed Onboarding Item","sidebarTitle":"Completed Onboarding Item","href":"/events/payloads/healthie/completed_onboarding_item"},{"title":"Form Answer Group","sidebarTitle":"Form Answer Group","href":"/events/payloads/healthie/form_answer_group"},{"title":"Insurance Authorization","sidebarTitle":"Insurance Authorization","href":"/events/payloads/healthie/insurance_authorization"},{"title":"Lab Result","sidebarTitle":"Lab Result","href":"/events/payloads/healthie/lab_result"},{"title":"Note (Message)","sidebarTitle":"Note (Message)","href":"/events/payloads/healthie/note"},{"title":"Policy","sidebarTitle":"Policy","href":"/events/payloads/healthie/policy"},{"title":"Prescription","sidebarTitle":"Prescription","href":"/events/payloads/healthie/prescription"},{"title":"Requested Form Completion","sidebarTitle":"Requested Form Completion","href":"/events/payloads/healthie/requested_form_completion"},{"title":"Task","sidebarTitle":"Task","href":"/events/payloads/healthie/task"},{"title":"User","sidebarTitle":"User","href":"/events/payloads/healthie/user"}]},{"group":"Hint Health","pages":[{"title":"Customer Invoice","sidebarTitle":"Customer Invoice","href":"/events/payloads/hint_health/customer_invoice"},{"title":"Membership","sidebarTitle":"Membership","href":"/events/payloads/hint_health/membership"},{"title":"Patient","sidebarTitle":"Patient","href":"/events/payloads/hint_health/patient"}]},{"group":"Hubspot","pages":[{"title":"Get Started","href":"/events/payloads/hubspot/get_started_hubspot"},{"title":"Contact","sidebarTitle":"Contact","href":"/events/payloads/hubspot/contact"},{"title":"Ticket","sidebarTitle":"Ticket","href":"/events/payloads/hubspot/ticket"}]},{"group":"IntakeQ","pages":[{"title":"Get Started","href":"/events/payloads/intakeq/get_started_intakeq"},{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/intakeq/appointment"},{"title":"Client","sidebarTitle":"Client","href":"/events/payloads/intakeq/client"},{"title":"Intake Form","sidebarTitle":"Intake Form","href":"/events/payloads/intakeq/intake_form"},{"title":"Invoice","sidebarTitle":"Invoice","href":"/events/payloads/intakeq/invoice"},{"title":"Note","sidebarTitle":"Note","href":"/events/payloads/intakeq/note"}]},{"group":"Junction","pages":[{"title":"Get Started","href":"/events/payloads/junction/get_started_junction"},{"title":"Lab Results","sidebarTitle":"Lab Results","href":"/events/payloads/junction/lab_results"},{"title":"Order","sidebarTitle":"Order","href":"/events/payloads/junction/order"}]},{"group":"Medplum","pages":[{"title":"Get Started","href":"/events/payloads/medplum/get_started_medplum"},{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/medplum/appointment"},{"title":"Patient","sidebarTitle":"Patient","href":"/events/payloads/medplum/patient"}]},{"group":"Mod Med","pages":[{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/mod_med/appointment"},{"title":"Patient","sidebarTitle":"Patient","href":"/events/payloads/mod_med/patient"}]},{"group":"Morf","pages":[{"title":"Get Started","href":"/events/payloads/morf/get_started_morf"},{"title":"Custom JSON Payloads (Deprecated)","sidebarTitle":"Custom JSON Payloads (Deprecated)","href":"/events/payloads/morf/json"},{"title":"Custom JSON Payloads","sidebarTitle":"Custom JSON Payloads","href":"/events/payloads/morf/json_body"},{"title":"Time Slot Selected","sidebarTitle":"Time Slot Selected","href":"/events/payloads/morf/time_slot_selected"},{"title":"Time Slot Selection Viewed","sidebarTitle":"Time Slot Selection Viewed","href":"/events/payloads/morf/time_slot_selection_viewed"},{"title":"Track","sidebarTitle":"Track","href":"/events/payloads/morf/track"}]},{"group":"Nextech","pages":[{"title":"Get Started","href":"/events/payloads/nextech/get_started_nextech"},{"title":"Appointment","sidebarTitle":"Appointment","href":"/events/payloads/nextech/appointment"},{"title":"Patient","sidebarTitle":"Patient","href":"/events/payloads/nextech/patient"}]},{"group":"Posthog","pages":[{"title":"Get Started","href":"/events/payloads/posthog/get_started_posthog"},{"title":"Posthog Event","sidebarTitle":"Posthog Event","href":"/events/payloads/posthog/posthog_event"}]},{"group":"Rudder Stack","pages":[{"title":"Identify","sidebarTitle":"Identify","href":"/events/payloads/rudder_stack/identify"},{"title":"Track","sidebarTitle":"Track","href":"/events/payloads/rudder_stack/track"}]},{"group":"Segment","pages":[{"title":"Get Started","href":"/events/payloads/segment/get_started_segment"},{"title":"Identify","sidebarTitle":"Identify","href":"/events/payloads/segment/identify"},{"title":"Page","sidebarTitle":"Page","href":"/events/payloads/segment/page"},{"title":"Track","sidebarTitle":"Track","href":"/events/payloads/segment/track"}]},{"group":"Shopify","pages":[{"title":"Order","sidebarTitle":"Order","href":"/events/payloads/shopify/order"}]},{"group":"Spruce","pages":[{"title":"Get Started","href":"/events/payloads/spruce/get_started_spruce"},{"title":"Contact","sidebarTitle":"Contact","href":"/events/payloads/spruce/contact"},{"title":"Conversation","sidebarTitle":"Conversation","href":"/events/payloads/spruce/conversation"},{"title":"Conversation Item","sidebarTitle":"Conversation Item","href":"/events/payloads/spruce/conversation_item"}]},{"group":"Square","pages":[{"title":"Booking","sidebarTitle":"Booking","href":"/events/payloads/square/booking"}]},{"group":"Stripe","pages":[{"title":"Invoice","sidebarTitle":"Invoice","href":"/events/payloads/stripe/invoice"}]},{"group":"Typeform","pages":[{"title":"Form Submission","sidebarTitle":"Form Submission","href":"/events/payloads/typeform/form_submission"}]}]},{"group":"Actions","icon":"share-nodes","pages":[{"group":"Active Campaign","pages":[{"group":"v1","pages":[{"title":"Create Or Update Account","sidebarTitle":"Create Or Update Account","href":"/actions/active_campaign/v1/create_or_update_account"},{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/active_campaign/v1/create_or_update_contact"},{"title":"Get Contact","sidebarTitle":"Get Contact","href":"/actions/active_campaign/v1/get_contact"},{"title":"Get Contact Deals","sidebarTitle":"Get Contact Deals","href":"/actions/active_campaign/v1/get_contact_deals"},{"title":"Send Event For Contact","sidebarTitle":"Send Event For Contact","href":"/actions/active_campaign/v1/send_event_for_contact"}]}]},{"group":"Acuity","pages":[{"group":"v1","pages":[{"title":"Get Appointment Type","sidebarTitle":"Get Appointment Type","href":"/actions/acuity/v1/get_appointment_type"}]}]},{"group":"Acuity Scheduling","pages":[{"group":"v1","pages":[{"title":"Get Appointment Type","sidebarTitle":"Get Appointment Type","href":"/actions/acuity/v1/get_appointment_type"}]}]},{"group":"Aircall","pages":[{"group":"v1","pages":[{"title":"Send Sms","sidebarTitle":"Send Sms","href":"/actions/aircall/v1/send_sms"}]}]},{"group":"Athena","pages":[{"group":"v1","pages":[{"title":"Create Or Update Patient","sidebarTitle":"Create Or Update Patient","href":"/actions/athena/v1/create_or_update_patient"},{"title":"Get Patient","sidebarTitle":"Get Patient","href":"/actions/athena/v1/get_patient"}]}]},{"group":"Cerbo","pages":[{"group":"v1","pages":[{"title":"Create Or Update Patient","sidebarTitle":"Create Or Update Patient","href":"/actions/cerbo/v1/create_or_update_patient"}]}]},{"group":"Customer.io","pages":[{"group":"v1","pages":[{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/customer_io/v1/create_or_update_contact"},{"title":"Send Event","sidebarTitle":"Send Event","href":"/actions/customer_io/v1/send_event"}]}]},{"group":"Dr Chrono","pages":[{"group":"v1","pages":[{"title":"Create Or Update Patient","sidebarTitle":"Create Or Update Patient","href":"/actions/dr_chrono/v1/create_or_update_patient"},{"title":"List Appointments","sidebarTitle":"List Appointments","href":"/actions/dr_chrono/v1/list_appointments"}]}]},{"group":"Elation","pages":[{"group":"v1","pages":[{"title":"Create Allergies","sidebarTitle":"Create Allergies","href":"/actions/elation/v1/create_allergies"},{"title":"Create Drug Intolerances","sidebarTitle":"Create Drug Intolerances","href":"/actions/elation/v1/create_drug_intolerances"},{"title":"Create Message Thread","sidebarTitle":"Create Message Thread","href":"/actions/elation/v1/create_message_thread"},{"title":"Create Or Update Patient","sidebarTitle":"Create Or Update Patient","href":"/actions/elation/v1/create_or_update_patient"},{"title":"Create Patient History","sidebarTitle":"Create Patient History","href":"/actions/elation/v1/create_patient_history"},{"title":"Get Appointment","sidebarTitle":"Get Appointment","href":"/actions/elation/v1/get_appointment"},{"title":"Get Patient","sidebarTitle":"Get Patient","href":"/actions/elation/v1/get_patient"},{"title":"Get Physician","sidebarTitle":"Get Physician","href":"/actions/elation/v1/get_physician"},{"title":"List Appointments For Patient","sidebarTitle":"List Appointments For Patient","href":"/actions/elation/v1/list_appointments_for_patient"},{"title":"Update Appointment","sidebarTitle":"Update Appointment","href":"/actions/elation/v1/update_appointment"}]}]},{"group":"Facebook","pages":[{"group":"v1","pages":[{"title":"Send Conversion Event","sidebarTitle":"Send Conversion Event","href":"/actions/facebook/v1/send_conversion_event"}]}]},{"group":"Freshdesk","pages":[{"group":"v1","pages":[{"title":"Create Or Update Company","sidebarTitle":"Create Or Update Company","href":"/actions/freshdesk/v1/create_or_update_company"},{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/freshdesk/v1/create_or_update_contact"},{"title":"Create Ticket","sidebarTitle":"Create Ticket","href":"/actions/freshdesk/v1/create_ticket"},{"title":"Fetch Contacts","sidebarTitle":"Fetch Contacts","href":"/actions/freshdesk/v1/fetch_contacts"}]}]},{"group":"Google","pages":[{"group":"v1","pages":[{"title":"Generate Cloud Storage Signed Url","sidebarTitle":"Generate Cloud Storage Signed Url","href":"/actions/google/v1/generate_cloud_storage_signed_url"},{"title":"Save To Bigquery","sidebarTitle":"Save To Bigquery","href":"/actions/google/v1/save_to_bigquery"},{"title":"Send Conversion Event","sidebarTitle":"Send Conversion Event","href":"/actions/google/v1/send_conversion_event"},{"title":"Send Google Analytics Firebase Event","sidebarTitle":"Send Google Analytics Firebase Event","href":"/actions/google/v1/send_google_analytics_firebase_event"},{"title":"Send Google Analytics Gtag Event","sidebarTitle":"Send Google Analytics Gtag Event","href":"/actions/google/v1/send_google_analytics_gtag_event"},{"title":"Upsert Google Sheets Table","sidebarTitle":"Upsert Google Sheets Table","href":"/actions/google/v1/upsert_google_sheets_table"}]}]},{"group":"GoHighLevel","pages":[{"group":"v1","pages":[{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/gohighlevel/v1/create_or_update_contact"}]}]},{"group":"Healthie","pages":[{"group":"v1","pages":[{"title":"Add Pharmacy To Patient","sidebarTitle":"Add Pharmacy To Patient","href":"/actions/healthie/v1/add_pharmacy_to_patient"},{"title":"Append To Patient Quick Notes","sidebarTitle":"Append To Patient Quick Notes","href":"/actions/healthie/v1/append_to_patient_quick_notes"},{"title":"Complete Task","sidebarTitle":"Complete Task","href":"/actions/healthie/v1/complete_task"},{"title":"Count Appointments For Patient","sidebarTitle":"Count Appointments For Patient","href":"/actions/healthie/v1/count_appointments_for_patient"},{"title":"Create Allergy Sensitivity","sidebarTitle":"Create Allergy Sensitivity","href":"/actions/healthie/v1/create_allergy_sensitivity"},{"title":"Create Appointment","sidebarTitle":"Create Appointment","href":"/actions/healthie/v1/create_appointment"},{"title":"Create Billing Item","sidebarTitle":"Create Billing Item","href":"/actions/healthie/v1/create_billing_item"},{"title":"Create Charting Note Addendum","sidebarTitle":"Create Charting Note Addendum","href":"/actions/healthie/v1/create_charting_note_addendum"},{"title":"Create Cms1500","sidebarTitle":"Create Cms1500","href":"/actions/healthie/v1/create_cms1500"},{"title":"Create Conversation","sidebarTitle":"Create Conversation","href":"/actions/healthie/v1/create_conversation"},{"title":"Create Document","sidebarTitle":"Create Document","href":"/actions/healthie/v1/create_document"},{"title":"Create Family History","sidebarTitle":"Create Family History","href":"/actions/healthie/v1/create_family_history"},{"title":"Create Invoice","sidebarTitle":"Create Invoice","href":"/actions/healthie/v1/create_invoice"},{"title":"Create Metric Entry","sidebarTitle":"Create Metric Entry","href":"/actions/healthie/v1/create_metric_entry"},{"title":"Create Or Update Form Answer Group","sidebarTitle":"Create Or Update Form Answer Group","href":"/actions/healthie/v1/create_or_update_form_answer_group"},{"title":"Create Or Update Insurance Policy","sidebarTitle":"Create Or Update Insurance Policy","href":"/actions/healthie/v1/create_or_update_insurance_policy"},{"title":"Create Or Update Notification Contact","sidebarTitle":"Create Or Update Notification Contact","href":"/actions/healthie/v1/create_or_update_notification_contact"},{"title":"Create Or Update Patient","sidebarTitle":"Create Or Update Patient","href":"/actions/healthie/v1/create_or_update_patient"},{"title":"Create Or Update Patient Location","sidebarTitle":"Create Or Update Patient Location","href":"/actions/healthie/v1/create_or_update_patient_location"},{"title":"Create Or Update Referring Provider","sidebarTitle":"Create Or Update Referring Provider","href":"/actions/healthie/v1/create_or_update_referring_provider"},{"title":"Create Patient Stripe Credit Card","sidebarTitle":"Create Patient Stripe Credit Card","href":"/actions/healthie/v1/create_patient_stripe_credit_card"},{"title":"Create Patient Stripe Credit Card V2","sidebarTitle":"Create Patient Stripe Credit Card V2","href":"/actions/healthie/v1/create_patient_stripe_credit_card_v2"},{"title":"Create Referral","sidebarTitle":"Create Referral","href":"/actions/healthie/v1/create_referral"},{"title":"Create Requested Form Completion","sidebarTitle":"Create Requested Form Completion","href":"/actions/healthie/v1/create_requested_form_completion"},{"title":"Create Task","sidebarTitle":"Create Task","href":"/actions/healthie/v1/create_task"},{"title":"Get Appointment","sidebarTitle":"Get Appointment","href":"/actions/healthie/v1/get_appointment"},{"title":"Get Form Answer Group","sidebarTitle":"Get Form Answer Group","href":"/actions/healthie/v1/get_form_answer_group"},{"title":"Get Onboarding Flow","sidebarTitle":"Get Onboarding Flow","href":"/actions/healthie/v1/get_onboarding_flow"},{"title":"Get Policy","sidebarTitle":"Get Policy","href":"/actions/healthie/v1/get_policy"},{"title":"Get Stripe Customer Details","sidebarTitle":"Get Stripe Customer Details","href":"/actions/healthie/v1/get_stripe_customer_details"},{"title":"Get User","sidebarTitle":"Get User","href":"/actions/healthie/v1/get_user"},{"title":"List Appointment Slot Availability","sidebarTitle":"List Appointment Slot Availability","href":"/actions/healthie/v1/list_appointment_slot_availability"},{"title":"List Appointments For Patient","sidebarTitle":"List Appointments For Patient","href":"/actions/healthie/v1/list_appointments_for_patient"},{"title":"List Insurance Plans","sidebarTitle":"List Insurance Plans","href":"/actions/healthie/v1/list_insurance_plans"},{"title":null,"href":"/actions/healthie/v1/list_requested_form_completion"},{"title":"Lock Form Answer Group","sidebarTitle":"Lock Form Answer Group","href":"/actions/healthie/v1/lock_form_answer_group"},{"title":"Search Metric Entries","sidebarTitle":"Search Metric Entries","href":"/actions/healthie/v1/search_metric_entries"},{"title":"Search Users","sidebarTitle":"Search Users","href":"/actions/healthie/v1/search_users"},{"title":"Send Form Request Reminder","sidebarTitle":"Send Form Request Reminder","href":"/actions/healthie/v1/send_form_request_reminder"},{"title":"Update Appointment","sidebarTitle":"Update Appointment","href":"/actions/healthie/v1/update_appointment"},{"title":"Update Client Source","sidebarTitle":"Update Client Source","href":"/actions/healthie/v1/update_client_source"},{"title":"Update Metric Entry","sidebarTitle":"Update Metric Entry","href":"/actions/healthie/v1/update_metric_entry"},{"title":"Update Patient","sidebarTitle":"Update Patient","href":"/actions/healthie/v1/update_patient"},{"title":"Update Patient Weight","sidebarTitle":"Update Patient Weight","href":"/actions/healthie/v1/update_patient_weight"},{"title":"Update Tags","sidebarTitle":"Update Tags","href":"/actions/healthie/v1/update_tags"}]},{"group":"v2","pages":[{"title":"Create Or Update Patient","sidebarTitle":"Create Or Update Patient","href":"/actions/healthie/v2/create_or_update_patient"}]}]},{"group":"Hint Health","pages":[{"group":"v1","pages":[{"title":"Create Charge","sidebarTitle":"Create Charge","href":"/actions/hint_health/v1/create_charge"},{"title":"Create Or Update Patient","sidebarTitle":"Create Or Update Patient","href":"/actions/hint_health/v1/create_or_update_patient"},{"title":"Create Payment Method","sidebarTitle":"Create Payment Method","href":"/actions/hint_health/v1/create_payment_method"},{"title":"Get Patient","sidebarTitle":"Get Patient","href":"/actions/hint_health/v1/get_patient"}]}]},{"group":"Hubspot","pages":[{"group":"v1","pages":[{"title":"Create File","sidebarTitle":"Create File","href":"/actions/hubspot/v1/create_file"},{"title":"Create Note","sidebarTitle":"Create Note","href":"/actions/hubspot/v1/create_note"},{"title":"Create Or Update Company","sidebarTitle":"Create Or Update Company","href":"/actions/hubspot/v1/create_or_update_company"},{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/hubspot/v1/create_or_update_contact"},{"title":"Create Or Update Deal","sidebarTitle":"Create Or Update Deal","href":"/actions/hubspot/v1/create_or_update_deal"},{"title":"Create Or Update Task","sidebarTitle":"Create Or Update Task","href":"/actions/hubspot/v1/create_or_update_task"},{"title":"Create Ticket","sidebarTitle":"Create Ticket","href":"/actions/hubspot/v1/create_ticket"},{"title":"Delete Deal","sidebarTitle":"Delete Deal","href":"/actions/hubspot/v1/delete_deal"},{"title":"Get Contact","sidebarTitle":"Get Contact","href":"/actions/hubspot/v1/get_contact"},{"title":"Search Companies","sidebarTitle":"Search Companies","href":"/actions/hubspot/v1/search_companies"},{"title":"Search Contacts","sidebarTitle":"Search Contacts","href":"/actions/hubspot/v1/search_contacts"},{"title":"Search Users","sidebarTitle":"Search Users","href":"/actions/hubspot/v1/search_users"},{"title":"Send Email","sidebarTitle":"Send Email","href":"/actions/hubspot/v1/send_email"},{"title":"Send Event","description":"Documentation for the Send Event action for Hubspot","sidebarTitle":"Send Event","href":"/actions/hubspot/v1/send_event"},{"title":"Update Communication Preferences","sidebarTitle":"Update Communication Preferences","href":"/actions/hubspot/v1/update_communication_preferences"},{"title":"Update Contact","description":"Documentation for the Update Contact action for Hubspot","sidebarTitle":"Update Contact","href":"/actions/hubspot/v1/update_contact"}]}]},{"group":"IntakeQ","pages":[{"group":"v1","pages":[{"title":"Create Or Update Profile","sidebarTitle":"Create Or Update Profile","href":"/actions/intakeq/v1/create_or_update_profile"},{"title":"Create Or Update Questionnaire","sidebarTitle":"Create Or Update Questionnaire","href":"/actions/intakeq/v1/create_or_update_questionnaire"},{"title":"Delete Tag","sidebarTitle":"Delete Tag","href":"/actions/intakeq/v1/delete_tag"},{"title":"Get Appointment","sidebarTitle":"Get Appointment","href":"/actions/intakeq/v1/get_appointment"},{"title":"Get Client","sidebarTitle":"Get Client","href":"/actions/intakeq/v1/get_client"},{"title":"Get Full Intake Form","sidebarTitle":"Get Full Intake Form","href":"/actions/intakeq/v1/get_full_intake_form"},{"title":"Get Invoice","sidebarTitle":"Get Invoice","href":"/actions/intakeq/v1/get_invoice"},{"title":"Get Last And Next Appointments","sidebarTitle":"Get Last And Next Appointments","href":"/actions/intakeq/v1/get_last_and_next_appointments"},{"title":"Get Note","sidebarTitle":"Get Note","href":"/actions/intakeq/v1/get_note"},{"title":"List Appointments","sidebarTitle":"List Appointments","href":"/actions/intakeq/v1/list_appointments"},{"title":"List Claims","sidebarTitle":"List Claims","href":"/actions/intakeq/v1/list_claims"},{"title":"List Diagnoses","sidebarTitle":"List Diagnoses","href":"/actions/intakeq/v1/list_diagnoses"},{"title":"Update Tag","sidebarTitle":"Update Tag","href":"/actions/intakeq/v1/update_tag"},{"title":"Upload File","sidebarTitle":"Upload File","href":"/actions/intakeq/v1/upload_file"}]}]},{"group":"Intercom","pages":[{"group":"v1","pages":[{"title":"Add Contact Subscriptions","sidebarTitle":"Add Contact Subscriptions","href":"/actions/intercom/v1/add_contact_subscriptions"},{"title":"Archive Contact","sidebarTitle":"Archive Contact","href":"/actions/intercom/v1/archive_contact"},{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/intercom/v1/create_or_update_contact"},{"title":"Create Ticket","sidebarTitle":"Create Ticket","href":"/actions/intercom/v1/create_ticket"},{"title":"Search Contacts","sidebarTitle":"Search Contacts","href":"/actions/intercom/v1/search_contacts"},{"title":"Send Event","sidebarTitle":"Send Event","href":"/actions/intercom/v1/send_event"}]}]},{"group":"Microsoft Bing Ads","pages":[{"group":"v1","pages":[{"title":"Send Offline Conversion Event","sidebarTitle":"Send Offline Conversion Event","href":"/actions/microsoft_bing_ads/v1/send_offline_conversion_event"}]}]},{"group":"Mixpanel","pages":[{"group":"v1","pages":[{"title":"Create Identity","sidebarTitle":"Create Identity","href":"/actions/mixpanel/v1/create_identity"},{"title":"Track","sidebarTitle":"Track","href":"/actions/mixpanel/v1/track"}]}]},{"group":"Mod Med","pages":[{"group":"v1","pages":[{"title":"Create Or Update Patient","sidebarTitle":"Create Or Update Patient","href":"/actions/mod_med/v1/create_or_update_patient"},{"title":"Get Appointment","sidebarTitle":"Get Appointment","href":"/actions/mod_med/v1/get_appointment"}]}]},{"group":"Morf","pages":[{"group":"v1","pages":[{"title":"Generate Track Url","sidebarTitle":"Generate Track Url","href":"/actions/morf/v1/generate_track_url"},{"title":"Ai Prompt To Text","sidebarTitle":"Ai Prompt To Text","href":"/actions/morf/v1/ai_prompt_to_text"},{"title":"Calculate Gad7 Score","sidebarTitle":"Calculate Gad7 Score","href":"/actions/morf/v1/calculate_gad7_score"},{"title":"Calculate Pcl5 Score","sidebarTitle":"Calculate Pcl5 Score","href":"/actions/morf/v1/calculate_pcl5_score"},{"title":"Calculate Phq8 Score","sidebarTitle":"Calculate Phq8 Score","href":"/actions/morf/v1/calculate_phq8_score"},{"title":"Calculate Phq9 Score","sidebarTitle":"Calculate Phq9 Score","href":"/actions/morf/v1/calculate_phq9_score"},{"title":"Convert Profile To Patient","sidebarTitle":"Convert Profile To Patient","href":"/actions/morf/v1/convert_profile_to_patient"},{"title":"Send Email","sidebarTitle":"Send Email","href":"/actions/morf/v1/send_email"},{"title":"Send Http Patch Request","sidebarTitle":"Send Http Patch Request","href":"/actions/morf/v1/send_http_patch_request"},{"title":"Send Http Post Request","sidebarTitle":"Send Http Post Request","href":"/actions/morf/v1/send_http_post_request"},{"title":"Track Profile Properties","sidebarTitle":"Track Profile Properties","href":"/actions/morf/v1/track_profile_properties"},{"title":"Update Profile Properties","sidebarTitle":"Update Profile Properties","href":"/actions/morf/v1/update_profile_properties"}]}]},{"group":"Nextdoor","pages":[{"group":"v1","pages":[{"title":"Send Conversion Event","sidebarTitle":"Send Conversion Event","href":"/actions/nextdoor/v1/send_conversion_event"}]}]},{"group":"Nextech","pages":[{"group":"v1","pages":[{"title":"Cancel Appointment","sidebarTitle":"Cancel Appointment","href":"/actions/nextech/v1/cancel_appointment"},{"title":"Confirm Appointment","sidebarTitle":"Confirm Appointment","href":"/actions/nextech/v1/confirm_appointment"},{"title":"Get Appointment","sidebarTitle":"Get Appointment","href":"/actions/nextech/v1/get_appointment"},{"title":"Get Last And Next Appointments","sidebarTitle":"Get Last And Next Appointments","href":"/actions/nextech/v1/get_last_and_next_appointments"},{"title":"Get Patient","sidebarTitle":"Get Patient","href":"/actions/nextech/v1/get_patient"},{"title":"List Appointments For Patient","sidebarTitle":"List Appointments For Patient","href":"/actions/nextech/v1/list_appointments_for_patient"}]}]},{"group":"Open Phone","pages":[{"group":"v1","pages":[{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/open_phone/v1/create_or_update_contact"},{"title":"Send Text Message","sidebarTitle":"Send Text Message","href":"/actions/open_phone/v1/send_text_message"}]}]},{"group":"Posthog","pages":[{"group":"v1","pages":[{"title":"Capture Event","sidebarTitle":"Capture Event","href":"/actions/posthog/v1/capture_event"},{"title":"Get Feature Flags","sidebarTitle":"Get Feature Flags","href":"/actions/posthog/v1/get_feature_flags"},{"title":"Identify","sidebarTitle":"Identify","href":"/actions/posthog/v1/identify"}]}]},{"group":"Segment","pages":[{"group":"v1","pages":[{"title":"Identify","sidebarTitle":"Identify","href":"/actions/segment/v1/identify"},{"title":"Track","sidebarTitle":"Track","href":"/actions/segment/v1/track"}]}]},{"group":"Slack","pages":[{"group":"v1","pages":[{"title":"Send Incoming Webhook Message","sidebarTitle":"Send Incoming Webhook Message","href":"/actions/slack/v1/send_incoming_webhook_message"}]}]},{"group":"Snowflake","pages":[{"group":"v1","pages":[{"title":"Save To Table Variant","sidebarTitle":"Save To Table Variant","href":"/actions/snowflake/v1/save_to_table_variant"}]}]},{"group":"Spruce","pages":[{"group":"v1","pages":[{"title":"Add Internal Note To Conversation","sidebarTitle":"Add Internal Note To Conversation","href":"/actions/spruce/v1/add_internal_note_to_conversation"},{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/spruce/v1/create_or_update_contact"},{"title":"Find First Matching Conversation Item","sidebarTitle":"Find First Matching Conversation Item","href":"/actions/spruce/v1/find_first_matching_conversation_item"},{"title":"Get Contact","sidebarTitle":"Get Contact","href":"/actions/spruce/v1/get_contact"},{"title":"Get Conversation","sidebarTitle":"Get Conversation","href":"/actions/spruce/v1/get_conversation"},{"title":"List Conversation Items","sidebarTitle":"List Conversation Items","href":"/actions/spruce/v1/list_conversation_items"},{"title":"List Conversations","sidebarTitle":"List Conversations","href":"/actions/spruce/v1/list_conversations"},{"title":"Search Contacts","sidebarTitle":"Search Contacts","href":"/actions/spruce/v1/search_contacts"},{"title":"Send Message","sidebarTitle":"Send Message","href":"/actions/spruce/v1/send_message"},{"title":"Update Conversation","sidebarTitle":"Update Conversation","href":"/actions/spruce/v1/update_conversation"}]}]},{"group":"Stedi","pages":[{"group":"v1","pages":[{"title":"Check Eligibility","sidebarTitle":"Check Eligibility","href":"/actions/stedi/v1/check_eligibility"}]}]},{"group":"Stripe","pages":[{"group":"v1","pages":[{"title":"Create Card","sidebarTitle":"Create Card","href":"/actions/stripe/v1/create_card"},{"title":"Create Or Update Customer","sidebarTitle":"Create Or Update Customer","href":"/actions/stripe/v1/create_or_update_customer"}]}]},{"group":"Tiktok","pages":[{"group":"v1","pages":[{"title":"Send Event","sidebarTitle":"Send Event","href":"/actions/tiktok/v1/send_event"}]}]},{"group":"Twilio","pages":[{"group":"v1","pages":[{"title":"Send Sms","sidebarTitle":"Send Sms","href":"/actions/twilio/v1/send_sms"}]}]},{"group":"Zoho","pages":[{"group":"v1","pages":[{"title":"Create Or Update Contact","sidebarTitle":"Create Or Update Contact","href":"/actions/zoho/v1/create_or_update_contact"},{"title":"Create Or Update Deal","sidebarTitle":"Create Or Update Deal","href":"/actions/zoho/v1/create_or_update_deal"}]}]}]}]},{"dropdown":"Morf Academy","icon":"graduation-cap","groups":[{"group":"Workflows 101","pages":[{"title":"Key Concepts","icon":"cube","sidebarTitle":"Key Concepts","href":"/morf_academy/key_concepts"},{"title":"Anatomy of a Workflow","icon":"sitemap","sidebarTitle":"Anatomy","href":"/morf_academy/workflow_anatomy"},{"title":"Build a Workflow","icon":"toolbox","sidebarTitle":"Build a Workflow","href":"/morf_academy/build_a_workflow"},{"title":"Profile Lookup","icon":"user-magnifying-glass","sidebarTitle":"Profile Lookup","href":"/morf_academy/profile_lookup"},{"title":"Navigating the Workflow Editor","icon":"location-arrow","sidebarTitle":"Navigating the Editor","href":"/morf_academy/navigating_the_editor"}]},{"group":"Building in Morf","pages":[{"title":"Workflow Management","sidebarTitle":"Workflow Management","href":"/knowledge_base/workflow_management"},{"title":"Copy and Paste Nodes","sidebarTitle":"Copy and Paste Nodes","href":"/knowledge_base/copy_paste_nodes"},{"title":"Error Branching","sidebarTitle":"Error Branching","href":"/knowledge_base/error_branching"},{"title":"Passing Data Between Actions","sidebarTitle":"Passing Data Between Actions","href":"/knowledge_base/passing_data_between_actions"}]}]},{"dropdown":"Knowledge Base","icon":"brain","groups":[{"group":"Integration Guides","pages":[{"title":"Sync Hint Patients to HubSpot Contacts","sidebarTitle":"Hint → HubSpot Sync","icon":"arrows-rotate","href":"/knowledge_base/hint_hubspot_sync"}]},{"group":"Morf Forms","pages":[{"title":"Morf Forms Themes \u0026 Styling","sidebarTitle":"Themes \u0026 Styling","icon":"paintbrush","href":"/knowledge_base/feathery_themes"},{"title":"Morf Form Setup Instructions","sidebarTitle":"Setup","icon":"plug","href":"/knowledge_base/feathery_setup"},{"title":"Morf Form Environments \u0026 Form Promotion","sidebarTitle":"Environments \u0026 Promotion","icon":"arrow-up-from-bracket","href":"/knowledge_base/feathery_environments"},{"title":"Scheduling an Appointment for a New Patient via Morf Form","sidebarTitle":"Scheduling","icon":"calendar","href":"/knowledge_base/feathery_scheduling"},{"title":"Embed Your Morf Form","sidebarTitle":"Embed Form","icon":"code","href":"/knowledge_base/feathery_embed"},{"title":"Custom Domain for Morf Forms","sidebarTitle":"Custom Domain","icon":"globe","href":"/knowledge_base/feathery_custom_domain"},{"title":"Verify Existing Patient via Morf Forms","sidebarTitle":"Verify Existing Patient","icon":"user-check","href":"/knowledge_base/feathery_verify_patient"},{"title":"Stripe Card Capture via Morf Forms","sidebarTitle":"Stripe Card Capture","icon":"credit-card","href":"/knowledge_base/feathery_stripe_card_capture"},{"title":"Ad Click ID Tracking via Morf Forms","sidebarTitle":"Ad Click ID Tracking","icon":"bullseye","href":"/knowledge_base/feathery_click_id_tracking"},{"title":"Exit Window Pop-Up in Morf Forms","sidebarTitle":"Exit Pop-Up","icon":"window-restore","href":"/knowledge_base/feathery_exit_popup"},{"title":"Mapping Morf Forms Data to Third-Party Tools","sidebarTitle":"Data Mapping FAQ","icon":"arrows-left-right","href":"/knowledge_base/feathery_data_mappings"}]},{"group":"White Labeling","pages":[{"title":"White Labeling Track URLs","sidebarTitle":"Track URLs","icon":"palette","href":"/knowledge_base/white_labeling_track_urls"}]}]},{"dropdown":"REST API","icon":"code","groups":[{"group":"Profiles","pages":[{"title":"Get a Profile","icon":"code","sidebarTitle":"Get a Profile","href":"/morf_dashboard/profiles/api"},{"title":"Get Profile Properties","icon":"code","sidebarTitle":"Get Profile Properties","href":"/morf_dashboard/profiles/get-profile-properties"},{"title":"List Profiles","icon":"code","sidebarTitle":"List Profiles","href":"/morf_dashboard/profiles/list"},{"title":"Verify Profile","icon":"code","sidebarTitle":"Verify Profile","href":"/morf_dashboard/profiles/verify-profile"},{"title":"Verify Profile ID","icon":"code","sidebarTitle":"Verify Profile ID","href":"/morf_dashboard/profiles/verify-profile-id"}]},{"group":"Providers","pages":[{"title":"Upsert a Provider","icon":"code","sidebarTitle":"Upsert a Provider","href":"/rest_api/providers/upsert"},{"title":"Get a Provider","icon":"code","sidebarTitle":"Get a Provider","href":"/rest_api/providers/get"},{"title":"List Providers","icon":"code","sidebarTitle":"List Providers","href":"/rest_api/providers/list"}]}]},{"dropdown":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Releases","href":"/changelog/changelog"}]}]},"basePath":"","title":"Update Communication Preferences - Morf Health","buildId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","deploymentId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","dynamics":["2b790eda92","a74be98ba7"],"chunks":["ApiExamples-Ba9tX7z3.js","utils-7A5jZhOT.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-BVWmkKuv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Be8krXvv.js","shallow-CBC3K1uB.js","snippetPresets-CMc8KicP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-4tKcUAYo.js","CodeSnippet-C1Xa06ft.js","CodeSnippets-vqiz27A_.js","zoom-image-lightbox-B-WKhCOL.js","lightbox-handle-r17bVUz3.js"]}