> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# SDK

## [Articles](https://dev.wix.com/docs/sdk/articles.md)


### [Get Started](https://dev.wix.com/docs/sdk/articles/get-started.md)


- [About the Wix JavaScript SDK](https://dev.wix.com/docs/sdk/articles/get-started/about-the-wix-java-script-sdk.md)

- [Developer Preview](https://dev.wix.com/docs/sdk/articles/get-started/developer-preview.md)


### [Work with the SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk.md)


- [Install SDK Packages](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/install-sdk-packages.md)

- [About Errors](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-errors.md)


### [Set up a Client](https://dev.wix.com/docs/sdk/articles/set-up-a-client.md)


- [About the Wix Client](https://dev.wix.com/docs/sdk/articles/set-up-a-client/about-the-wix-client.md)

- [Authorization Strategies](https://dev.wix.com/docs/sdk/articles/set-up-a-client/authorization-strategies.md)


### [Use the Wix MCP](https://dev.wix.com/docs/sdk/articles/use-the-wix-mcp.md)


- [About the Wix MCP](https://dev.wix.com/docs/sdk/articles/use-the-wix-mcp/about-the-wix-mcp.md)

- [MCP Sample Prompts](https://dev.wix.com/docs/sdk/articles/use-the-wix-mcp/mcp-sample-prompts.md)



## [Core Modules](https://dev.wix.com/docs/sdk/core-modules.md)


- [About Core Modules](https://dev.wix.com/docs/sdk/core-modules/about-core-modules.md)

### [sdk](https://dev.wix.com/docs/sdk/core-modules/sdk.md)


- [Introduction](https://dev.wix.com/docs/sdk/core-modules/sdk/introduction.md)

- [Setup](https://dev.wix.com/docs/sdk/core-modules/sdk/setup.md)

- [Wix Client](https://dev.wix.com/docs/sdk/core-modules/sdk/wix-client.md)

- [ApiKeyStrategy](https://dev.wix.com/docs/sdk/core-modules/sdk/api-key-strategy.md)

- [OAuthStrategy](https://dev.wix.com/docs/sdk/core-modules/sdk/oauth-strategy.md)

- [AppStrategy](https://dev.wix.com/docs/sdk/core-modules/sdk/app-strategy.md)

- [Media](https://dev.wix.com/docs/sdk/core-modules/sdk/media.md)


### [sdk-react (deprecated)](https://dev.wix.com/docs/sdk/core-modules/sdk-react-deprecated.md)



### [essentials](https://dev.wix.com/docs/sdk/core-modules/essentials.md)


- [Introduction](https://dev.wix.com/docs/sdk/core-modules/essentials/introduction.md)

- [auth](https://dev.wix.com/docs/sdk/core-modules/essentials/auth.md)

- [httpClient](https://dev.wix.com/docs/sdk/core-modules/essentials/http-client.md)

- [i18n](https://dev.wix.com/docs/sdk/core-modules/essentials/i18n.md)

- [monitoring](https://dev.wix.com/docs/sdk/core-modules/essentials/monitoring.md)

- [settings](https://dev.wix.com/docs/sdk/core-modules/essentials/settings.md)

- [errorHandler](https://dev.wix.com/docs/sdk/core-modules/essentials/error-handler.md)


### [web-methods](https://dev.wix.com/docs/sdk/core-modules/web-methods.md)


- [Introduction](https://dev.wix.com/docs/sdk/core-modules/web-methods/introduction.md)

- [webMethod()](https://dev.wix.com/docs/sdk/core-modules/web-methods/web-method.md)


### [realtime](https://dev.wix.com/docs/sdk/core-modules/realtime.md)


- [Extensions](https://dev.wix.com/docs/sdk/core-modules/realtime/extensions.md)

- [Realtime](https://dev.wix.com/docs/sdk/core-modules/realtime/realtime.md)



## [Host Modules](https://dev.wix.com/docs/sdk/host-modules.md)


- [About Host Modules](https://dev.wix.com/docs/sdk/host-modules/about-host-modules.md)

### [workspace](https://dev.wix.com/docs/sdk/host-modules/workspace.md)


- [Introduction](https://dev.wix.com/docs/sdk/host-modules/workspace/introduction.md)

- [Apps](https://dev.wix.com/docs/sdk/host-modules/workspace/apps.md)

- [ItemSelector](https://dev.wix.com/docs/sdk/host-modules/workspace/item-selector.md)


### [dashboard](https://dev.wix.com/docs/sdk/host-modules/dashboard.md)


- [Introduction](https://dev.wix.com/docs/sdk/host-modules/dashboard/introduction.md)

- [About Dashboard Page Navigation](https://dev.wix.com/docs/sdk/host-modules/dashboard/about-dashboard-page-navigation.md)

- [About Cross-Scope Navigation](https://dev.wix.com/docs/sdk/host-modules/dashboard/about-cross-scope-navigation.md)

- [Page IDs](https://dev.wix.com/docs/sdk/host-modules/dashboard/page-ids.md)

- [observeState()](https://dev.wix.com/docs/sdk/host-modules/dashboard/observe-state.md)

- [showToast()](https://dev.wix.com/docs/sdk/host-modules/dashboard/show-toast.md)

- [openModal()](https://dev.wix.com/docs/sdk/host-modules/dashboard/open-modal.md)

- [closeModal()](https://dev.wix.com/docs/sdk/host-modules/dashboard/close-modal.md)

- [navigate()](https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate.md)

- [navigateBack()](https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate-back.md)

- [getPageUrl()](https://dev.wix.com/docs/sdk/host-modules/dashboard/get-page-url.md)

- [getSiteInfo()](https://dev.wix.com/docs/sdk/host-modules/dashboard/get-site-info.md)

- [openMediaManager()](https://dev.wix.com/docs/sdk/host-modules/dashboard/open-media-manager.md)

- [onBeforeUnload()](https://dev.wix.com/docs/sdk/host-modules/dashboard/on-before-unload.md)

- [addSitePlugin()](https://dev.wix.com/docs/sdk/host-modules/dashboard/add-site-plugin.md)

- [setPageTitle()](https://dev.wix.com/docs/sdk/host-modules/dashboard/set-page-title.md)

- [onLayerStateChange()](https://dev.wix.com/docs/sdk/host-modules/dashboard/on-layer-state-change.md)

- [Page](https://dev.wix.com/docs/sdk/host-modules/dashboard/page.md)


### [dashboard-react (deprecated)](https://dev.wix.com/docs/sdk/host-modules/dashboard-react-deprecated.md)


- [Migrating from dashboard-react](https://dev.wix.com/docs/sdk/host-modules/dashboard-react-deprecated/migrating-from-dashboard-react.md)

- [Introduction](https://dev.wix.com/docs/sdk/host-modules/dashboard-react-deprecated/introduction.md)


### [editor](https://dev.wix.com/docs/sdk/host-modules/editor.md)


- [Introduction](https://dev.wix.com/docs/sdk/host-modules/editor/introduction.md)

- [Page](https://dev.wix.com/docs/sdk/host-modules/editor/page.md)

- [Pages](https://dev.wix.com/docs/sdk/host-modules/editor/pages.md)

- [Widget](https://dev.wix.com/docs/sdk/host-modules/editor/widget.md)

- [Info](https://dev.wix.com/docs/sdk/host-modules/editor/info.md)

- [Inputs](https://dev.wix.com/docs/sdk/host-modules/editor/inputs.md)

- [Elements](https://dev.wix.com/docs/sdk/host-modules/editor/elements.md)

- [React Elements](https://dev.wix.com/docs/sdk/host-modules/editor/react-elements.md)


### [site](https://dev.wix.com/docs/sdk/host-modules/site.md)


- [Introduction](https://dev.wix.com/docs/sdk/host-modules/site/introduction.md)

- [Analytics](https://dev.wix.com/docs/sdk/host-modules/site/analytics.md)

- [Events](https://dev.wix.com/docs/sdk/host-modules/site/events.md)

- [Consent Policy Manager ](https://dev.wix.com/docs/sdk/host-modules/site/consent-policy-manager.md)

- [Authentication](https://dev.wix.com/docs/sdk/host-modules/site/authentication.md)

- [MultilingualManager](https://dev.wix.com/docs/sdk/host-modules/site/multilingual-manager.md)



## [Data Items SDK](https://dev.wix.com/docs/sdk/data-items-sdk.md)


### [data](https://dev.wix.com/docs/sdk/data-items-sdk/data.md)


- [Items](https://dev.wix.com/docs/sdk/data-items-sdk/data/items.md)


### [ai-site-chat](https://dev.wix.com/docs/sdk/data-items-sdk/ai-site-chat.md)



### [events](https://dev.wix.com/docs/sdk/data-items-sdk/events.md)




## [Site SDK](https://dev.wix.com/docs/sdk/site-sdk.md)


- [Introduction](https://dev.wix.com/docs/sdk/site-sdk/introduction.md)

### [Pages and Navigation](https://dev.wix.com/docs/sdk/site-sdk/pages-and-navigation.md)


- [Introduction](https://dev.wix.com/docs/sdk/site-sdk/pages-and-navigation/introduction.md)

- [Pages](https://dev.wix.com/docs/sdk/site-sdk/pages-and-navigation/pages.md)

- [URL](https://dev.wix.com/docs/sdk/site-sdk/pages-and-navigation/url.md)

- [Router](https://dev.wix.com/docs/sdk/site-sdk/pages-and-navigation/router.md)

- [Lightbox](https://dev.wix.com/docs/sdk/site-sdk/pages-and-navigation/lightbox.md)


### [Site Settings](https://dev.wix.com/docs/sdk/site-sdk/site-settings.md)


- [Introduction](https://dev.wix.com/docs/sdk/site-sdk/site-settings/introduction.md)

- [Locale](https://dev.wix.com/docs/sdk/site-sdk/site-settings/locale.md)

- [Translations](https://dev.wix.com/docs/sdk/site-sdk/site-settings/translations.md)

- [Site Info](https://dev.wix.com/docs/sdk/site-sdk/site-settings/site-info.md)

- [Site Theme](https://dev.wix.com/docs/sdk/site-sdk/site-settings/site-theme.md)


### [Rendering and Performance](https://dev.wix.com/docs/sdk/site-sdk/rendering-and-performance.md)


- [Introduction](https://dev.wix.com/docs/sdk/site-sdk/rendering-and-performance/introduction.md)

- [Rendering Context](https://dev.wix.com/docs/sdk/site-sdk/rendering-and-performance/rendering-context.md)

- [Above the Fold](https://dev.wix.com/docs/sdk/site-sdk/rendering-and-performance/above-the-fold.md)

- [Head Appender](https://dev.wix.com/docs/sdk/site-sdk/rendering-and-performance/head-appender.md)


### [Accessibility and Devices](https://dev.wix.com/docs/sdk/site-sdk/accessibility-and-devices.md)


- [Introduction](https://dev.wix.com/docs/sdk/site-sdk/accessibility-and-devices/introduction.md)

- [Device Info](https://dev.wix.com/docs/sdk/site-sdk/accessibility-and-devices/device-info.md)

- [Tabbing](https://dev.wix.com/docs/sdk/site-sdk/accessibility-and-devices/tabbing.md)



## [Frontend Modules](https://dev.wix.com/docs/sdk/frontend-modules.md)


- [About Frontend Modules](https://dev.wix.com/docs/sdk/frontend-modules/about-frontend-modules.md)

### [crm](https://dev.wix.com/docs/sdk/frontend-modules/crm.md)


- [Contacts](https://dev.wix.com/docs/sdk/frontend-modules/crm/contacts.md)

- [TriggeredEmails](https://dev.wix.com/docs/sdk/frontend-modules/crm/triggered-emails.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/crm/introduction.md)


### [ecom](https://dev.wix.com/docs/sdk/frontend-modules/ecom.md)


- [getCustomerSelectedCurrency()](https://dev.wix.com/docs/sdk/frontend-modules/ecom/get-customer-selected-currency.md)

- [navigateToCartPage()](https://dev.wix.com/docs/sdk/frontend-modules/ecom/navigate-to-cart-page.md)

- [navigateToCheckoutPage()](https://dev.wix.com/docs/sdk/frontend-modules/ecom/navigate-to-checkout-page.md)

- [onCartChange()](https://dev.wix.com/docs/sdk/frontend-modules/ecom/on-cart-change.md)

- [openSideCart()](https://dev.wix.com/docs/sdk/frontend-modules/ecom/open-side-cart.md)

- [refreshCart()](https://dev.wix.com/docs/sdk/frontend-modules/ecom/refresh-cart.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/ecom/introduction.md)

- [Setup](https://dev.wix.com/docs/sdk/frontend-modules/ecom/setup.md)


### [location](https://dev.wix.com/docs/sdk/frontend-modules/location.md)


- [baseUrl()](https://dev.wix.com/docs/sdk/frontend-modules/location/base-url.md)

- [onChange()](https://dev.wix.com/docs/sdk/frontend-modules/location/on-change.md)

- [path()](https://dev.wix.com/docs/sdk/frontend-modules/location/path.md)

- [prefix()](https://dev.wix.com/docs/sdk/frontend-modules/location/prefix.md)

- [protocol()](https://dev.wix.com/docs/sdk/frontend-modules/location/protocol.md)

- [query()](https://dev.wix.com/docs/sdk/frontend-modules/location/query.md)

- [to()](https://dev.wix.com/docs/sdk/frontend-modules/location/to.md)

- [url()](https://dev.wix.com/docs/sdk/frontend-modules/location/url.md)

- [QueryParams](https://dev.wix.com/docs/sdk/frontend-modules/location/query-params.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/location/introduction.md)

- [Setup](https://dev.wix.com/docs/sdk/frontend-modules/location/setup.md)


### [members](https://dev.wix.com/docs/sdk/frontend-modules/members.md)


- [Authentication](https://dev.wix.com/docs/sdk/frontend-modules/members/authentication.md)

- [CurrentMember](https://dev.wix.com/docs/sdk/frontend-modules/members/current-member.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/members/introduction.md)

- [Custom Fields](https://dev.wix.com/docs/sdk/frontend-modules/members/custom-fields.md)


### [mobile](https://dev.wix.com/docs/sdk/frontend-modules/mobile.md)


- [AppFramework](https://dev.wix.com/docs/sdk/frontend-modules/mobile/app-framework.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/mobile/introduction.md)


### [navigate-mobile](https://dev.wix.com/docs/sdk/frontend-modules/navigate-mobile.md)


- [openURL()](https://dev.wix.com/docs/sdk/frontend-modules/navigate-mobile/open-url.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/navigate-mobile/introduction.md)


### [pay](https://dev.wix.com/docs/sdk/frontend-modules/pay.md)


- [Currencies](https://dev.wix.com/docs/sdk/frontend-modules/pay/currencies.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/pay/introduction.md)


### [pricing-plans](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans.md)


- [Checkout](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/checkout.md)

- [CustomPurchaseFlow](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/custom-purchase-flow.md)

- [Orders](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/orders.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/introduction.md)

- [Sample Use Cases and Flows](https://dev.wix.com/docs/sdk/frontend-modules/pricing-plans/sample-use-cases-and-flows.md)


### [seo](https://dev.wix.com/docs/sdk/frontend-modules/seo.md)


- [links()](https://dev.wix.com/docs/sdk/frontend-modules/seo/links.md)

- [metaTags()](https://dev.wix.com/docs/sdk/frontend-modules/seo/meta-tags.md)

- [setLinks()](https://dev.wix.com/docs/sdk/frontend-modules/seo/set-links.md)

- [setMetaTags()](https://dev.wix.com/docs/sdk/frontend-modules/seo/set-meta-tags.md)

- [setStructuredData()](https://dev.wix.com/docs/sdk/frontend-modules/seo/set-structured-data.md)

- [setTitle()](https://dev.wix.com/docs/sdk/frontend-modules/seo/set-title.md)

- [structuredData()](https://dev.wix.com/docs/sdk/frontend-modules/seo/structured-data.md)

- [title()](https://dev.wix.com/docs/sdk/frontend-modules/seo/title.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/seo/introduction.md)

- [Setup](https://dev.wix.com/docs/sdk/frontend-modules/seo/setup.md)


### [site](https://dev.wix.com/docs/sdk/frontend-modules/site.md)


- [currency()](https://dev.wix.com/docs/sdk/frontend-modules/site/currency.md)

- [currentPage()](https://dev.wix.com/docs/sdk/frontend-modules/site/current-page.md)

- [getFontsHtml()](https://dev.wix.com/docs/sdk/frontend-modules/site/get-fonts-html.md)

- [getSiteDisplayName()](https://dev.wix.com/docs/sdk/frontend-modules/site/get-site-display-name.md)

- [getSiteStructure()](https://dev.wix.com/docs/sdk/frontend-modules/site/get-site-structure.md)

- [getSiteThemeHtml()](https://dev.wix.com/docs/sdk/frontend-modules/site/get-site-theme-html.md)

- [language()](https://dev.wix.com/docs/sdk/frontend-modules/site/language.md)

- [prefetchPageResources()](https://dev.wix.com/docs/sdk/frontend-modules/site/prefetch-page-resources.md)

- [regionalSettings()](https://dev.wix.com/docs/sdk/frontend-modules/site/regional-settings.md)

- [revision()](https://dev.wix.com/docs/sdk/frontend-modules/site/revision.md)

- [routerSitemap()](https://dev.wix.com/docs/sdk/frontend-modules/site/router-sitemap.md)

- [timezone()](https://dev.wix.com/docs/sdk/frontend-modules/site/timezone.md)

- [WixRouterSitemapEntry](https://dev.wix.com/docs/sdk/frontend-modules/site/wix-router-sitemap-entry.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/site/introduction.md)

- [Setup](https://dev.wix.com/docs/sdk/frontend-modules/site/setup.md)


### [storage](https://dev.wix.com/docs/sdk/frontend-modules/storage.md)


- [local()](https://dev.wix.com/docs/sdk/frontend-modules/storage/local.md)

- [memory()](https://dev.wix.com/docs/sdk/frontend-modules/storage/memory.md)

- [session()](https://dev.wix.com/docs/sdk/frontend-modules/storage/session.md)

- [Storage](https://dev.wix.com/docs/sdk/frontend-modules/storage/storage.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/storage/introduction.md)


### [stores](https://dev.wix.com/docs/sdk/frontend-modules/stores.md)


- [Navigate](https://dev.wix.com/docs/sdk/frontend-modules/stores/navigate.md)

- [Product](https://dev.wix.com/docs/sdk/frontend-modules/stores/product.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/stores/introduction.md)

- [Stores Schema for Wix Search](https://dev.wix.com/docs/sdk/frontend-modules/stores/stores-schema-for-wix-search.md)


### [window](https://dev.wix.com/docs/sdk/frontend-modules/window.md)


- [browserLocale()](https://dev.wix.com/docs/sdk/frontend-modules/window/browser-locale.md)

- [copyToClipboard()](https://dev.wix.com/docs/sdk/frontend-modules/window/copy-to-clipboard.md)

- [formFactor()](https://dev.wix.com/docs/sdk/frontend-modules/window/form-factor.md)

- [getAppPageData()](https://dev.wix.com/docs/sdk/frontend-modules/window/get-app-page-data.md)

- [getBoundingRect()](https://dev.wix.com/docs/sdk/frontend-modules/window/get-bounding-rect.md)

- [getCurrentGeolocation()](https://dev.wix.com/docs/sdk/frontend-modules/window/get-current-geolocation.md)

- [getRouterData()](https://dev.wix.com/docs/sdk/frontend-modules/window/get-router-data.md)

- [openLightbox()](https://dev.wix.com/docs/sdk/frontend-modules/window/open-lightbox.md)

- [openModal()](https://dev.wix.com/docs/sdk/frontend-modules/window/open-modal.md)

- [postMessage()](https://dev.wix.com/docs/sdk/frontend-modules/window/post-message.md)

- [referrer()](https://dev.wix.com/docs/sdk/frontend-modules/window/referrer.md)

- [scrollBy()](https://dev.wix.com/docs/sdk/frontend-modules/window/scroll-by.md)

- [scrollTo()](https://dev.wix.com/docs/sdk/frontend-modules/window/scroll-to.md)

- [viewMode()](https://dev.wix.com/docs/sdk/frontend-modules/window/view-mode.md)

- [ConsentPolicy](https://dev.wix.com/docs/sdk/frontend-modules/window/consent-policy.md)

- [Lightbox](https://dev.wix.com/docs/sdk/frontend-modules/window/lightbox.md)

- [Multilingual](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual.md)

- [Rendering](https://dev.wix.com/docs/sdk/frontend-modules/window/rendering.md)

- [WarmupData](https://dev.wix.com/docs/sdk/frontend-modules/window/warmup-data.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/window/introduction.md)

- [Setup](https://dev.wix.com/docs/sdk/frontend-modules/window/setup.md)

- [App Page Data](https://dev.wix.com/docs/sdk/frontend-modules/window/app-page-data.md)


### [site-realtime](https://dev.wix.com/docs/sdk/frontend-modules/site-realtime.md)


- [onConnected()](https://dev.wix.com/docs/sdk/frontend-modules/site-realtime/on-connected.md)

- [onDisconnected()](https://dev.wix.com/docs/sdk/frontend-modules/site-realtime/on-disconnected.md)

- [onError()](https://dev.wix.com/docs/sdk/frontend-modules/site-realtime/on-error.md)

- [subscribe()](https://dev.wix.com/docs/sdk/frontend-modules/site-realtime/subscribe.md)

- [unsubscribe()](https://dev.wix.com/docs/sdk/frontend-modules/site-realtime/unsubscribe.md)

- [Introduction](https://dev.wix.com/docs/sdk/frontend-modules/site-realtime/introduction.md)

- [Setup](https://dev.wix.com/docs/sdk/frontend-modules/site-realtime/setup.md)


