This method allows you to programmatically update the initial options provided in initUser or connect(If autoConnect: false is provided in initOrg).
Invoke this method after using the initOrg, initUser and connect(If autoConnect: false is provided in initOrg) commands.
const widgetOptions = { show?: boolean positionOffset?: { x?: number | string y?: number | string }}// NOTE: This is a MANDATORY parameter.const config = { /** * The target to update the options for. * Currently only 'widget' is supported. */ target: "widget", /** * The options to update. */ options: widgetOptions}
import OverhypedAI from '@overhyped-ai/connect/OverhypedAI'OverhypedAI('updateOptions', config)
Updates the initial options. Params:
Tag (Optional) is added for non-mandatory fields
config: object: Target and options to update.
target: "widget": The target to update the options for. Currently only ‘widget’ is supported.
options: Partial<OverhypedAIWidgetOptions>: The options to update.
show: boolean (Optional): Show/Hide the widget. This has no effect on the modal.
positionOffset: object (Optional): Adjust the position of the widget relative to it’s initial position.
x: number | string (Optional): X-axis offset.
y: number | string (Optional): Y-axis offset.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Overhyped AI","colors":{"primary":"#5E17EB","light":"#C1FF72","dark":"#5E17EB"},"favicon":"/favicon.svg","styling":{"eyebrows":null,"codeblocks":"system"},"logo":{"light":"https://mintcdn.com/pingbase/ulz0zJalW48ggLce/logo/light.svg?fit=max\u0026auto=format\u0026n=ulz0zJalW48ggLce\u0026q=85\u0026s=214060219d002e80f1490a9b2bd611cb","dark":"https://mintcdn.com/pingbase/ulz0zJalW48ggLce/logo/dark.svg?fit=max\u0026auto=format\u0026n=ulz0zJalW48ggLce\u0026q=85\u0026s=240e66e97bf5243bc8eac65dbc08e9e6"},"background":{"decoration":"windows"},"navbar":{"links":[{"label":"Homepage","href":"https://www.overhyped.ai"}],"primary":null},"seo":{"metatags":{"robots":"noindex"},"indexing":"navigable"},"footer":{"socials":{}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pingbase","hasAudioNarration":false,"actualSubdomain":"pingbase","customDomains":["docs.overhyped.ai"],"gitSource":{"type":"github","owner":"pingbaseai","repo":"widget-integration-docs","deployBranch":"production","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9245a3e9b7a540d5256e3:success","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Widget Integration","count":7},{"language":"default","tag":"Methods","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"widget-integration/methods/updateOptions","slug":"/widget-integration/methods/updateOptions","pageMetadata":{"title":"updateOptions - Upates the initial options","sidebarTitle":"updateOptions","description":null,"href":"/widget-integration/methods/updateOptions"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(Heading,{level:`3`,id:`updateoptions--overhypedai-“updateoptions”-config`,children:[_jsx(_components.code,{children:`updateOptions`}),` : OverhypedAI(“updateOptions”, config)`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`This method allows you to programmatically update the initial options provided in `,_jsx(_components.code,{children:`initUser`}),` or `,_jsx(_components.code,{children:`connect`}),`(If `,_jsx(_components.code,{children:`autoConnect: false`}),` is provided in `,_jsx(_components.code,{children:`initOrg`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Invoke this method after using the `,_jsx(_components.code,{children:`initOrg`}),`, `,_jsx(_components.code,{children:`initUser`}),` and `,_jsx(_components.code,{children:`connect`}),`(If `,_jsx(_components.code,{children:`autoConnect: false`}),` is provided in `,_jsx(_components.code,{children:`initOrg`}),`) commands.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` widgetOptions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` show?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` boolean`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` positionOffset`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` x?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` number`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` y`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` number`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` string`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// NOTE: This is a MANDATORY parameter.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /**`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * The target to update the options for.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * Currently only 'widget' is supported.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` target:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"widget\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /**`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` * The options to update.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` options:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` widgetOptions`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,highlight:`[3]`,numberOfLines:`3`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` OverhypedAI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@overhyped-ai/connect/OverhypedAI'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line line-highlight`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`OverhypedAI`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'updateOptions'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Updates the initial options. Params:`}),`\n`,_jsx(Tip,{children:`Tag (Optional) is added for non-mandatory fields`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`config: object`}),`: Target and options to update.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`target: \"widget\"`}),`: The target to update the options for. Currently only ‘widget’ is supported.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`options: Partial\u003cOverhypedAIWidgetOptions>`}),`: The options to update.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`show: boolean`}),` (Optional): Show/Hide the widget. This has no effect on the modal.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`positionOffset: object`}),` (Optional): Adjust the position of the widget relative to it’s initial position.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`x: number | string`}),` (Optional): X-axis offset.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`y: number | string`}),` (Optional): Y-axis offset.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"updateOptions - Upates the initial options","sidebarTitle":"updateOptions","description":null,"href":"/widget-integration/methods/updateOptions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"updateOptions : OverhypedAI(“updateOptions”, config)","slug":"updateoptions--overhypedai-“updateoptions”-config","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pingbase","siteName":"Overhyped AI","title":"updateOptions - Upates the initial options - Overhyped AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T05:51:51.732Z","originalFileLocation":"widget-integration/methods/updateOptions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Overhyped AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"updateOptions - Upates the initial options - Overhyped AI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Overhyped AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.overhyped.ai/widget-integration/methods/updateOptions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pingbase.mintlify.site/_mintlify/api/og/v2?division=Methods\u0026amp;title=updateOptions+-+Upates+the+initial+options\u0026amp;theme=9e469cde7a04e992c98fbf05\u0026amp;signature=a61bb1479b990331fb50c85c94b647a9f3b893225f32ecc54ee603634579d477\">\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=\"updateOptions - Upates the initial options - Overhyped AI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pingbase.mintlify.site/_mintlify/api/og/v2?division=Methods\u0026amp;title=updateOptions+-+Upates+the+initial+options\u0026amp;theme=9e469cde7a04e992c98fbf05\u0026amp;signature=a61bb1479b990331fb50c85c94b647a9f3b893225f32ecc54ee603634579d477\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/pingbase/5HTnLAx7kZvsW8gg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Overhyped AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5E17EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.overhyped.ai/widget-integration/methods/updateOptions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/widget-integration/methods/updateOptions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.overhyped.ai/#organization\",\"name\":\"Overhyped AI\",\"url\":\"https://docs.overhyped.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pingbase/ulz0zJalW48ggLce/logo/light.svg?fit=max\u0026auto=format\u0026n=ulz0zJalW48ggLce\u0026q=85\u0026s=214060219d002e80f1490a9b2bd611cb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.overhyped.ai#website\",\"name\":\"Overhyped AI\",\"url\":\"https://docs.overhyped.ai\",\"publisher\":{\"@id\":\"https://docs.overhyped.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/updateOptions#webpage\",\"url\":\"https://docs.overhyped.ai/widget-integration/methods/updateOptions\",\"name\":\"updateOptions - Upates the initial options\",\"dateModified\":\"2026-01-07T05:51:51.732Z\",\"isPartOf\":{\"@id\":\"https://docs.overhyped.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/updateOptions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/updateOptions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Widget Integration\",\"item\":\"https://docs.overhyped.ai/widget-integration/quick-start-guide\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Methods\",\"item\":\"https://docs.overhyped.ai/widget-integration/methods/info\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"updateOptions - Upates the initial options\",\"item\":\"https://docs.overhyped.ai/widget-integration/methods/updateOptions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/updateOptions#article\",\"headline\":\"updateOptions - Upates the initial options\",\"name\":\"updateOptions - Upates the initial options\",\"url\":\"https://docs.overhyped.ai/widget-integration/methods/updateOptions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.overhyped.ai/widget-integration/methods/updateOptions#webpage\"},\"dateModified\":\"2026-01-07T05:51:51.732Z\",\"publisher\":{\"@id\":\"https://docs.overhyped.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.overhyped.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Overhyped AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Overhyped AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/widget-integration/methods/updateOptions.md","siteName":"Overhyped AI","nav":{"global":null,"groups":[{"group":"","pages":[{"title":"Introduction","href":"/general/introduction"}]},{"group":"Widget Integration","pages":[{"title":"Quick Start Guide","icon":"rocket","href":"/widget-integration/quick-start-guide"},{"group":"Methods","icon":"code","pages":[{"title":"Methods and it's uses","href":"/widget-integration/methods/info"},{"title":"initOrg - Initializes the Organization","sidebarTitle":"initOrg","href":"/widget-integration/methods/initOrg"},{"title":"initUser - Initializes the User","sidebarTitle":"initUser","href":"/widget-integration/methods/initUser"},{"title":"connect - Connects the User","sidebarTitle":"connect","description":null,"href":"/widget-integration/methods/connect"},{"title":"updateOptions - Upates the initial options","sidebarTitle":"updateOptions","href":"/widget-integration/methods/updateOptions"},{"title":"disconnect - Disonnects the User","sidebarTitle":"disconnect","description":null,"href":"/widget-integration/methods/disconnect"}]}]}]},"basePath":"","title":"updateOptions - Upates the initial options - Overhyped AI","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}