Skip to main content
The Webstorio client SDK is available on every published site and in the builder preview as window.webstorio. Use it in page code to load CMS content, submit forms, manage carts, and handle visitor sign-in.

Runtime

Feature-gated methods

Methods only work when the matching website feature is enabled: Check what’s active:

Method index

getContentTypes, getContentEntries, getContentEntryById, getContentCategories, getContentCategoryByIdCMS SDK
getFormSchema, getForm, submitForm, getFormSubmissions, getFormSubmissionByIdForms SDK
getDataModels, listRecords, getRecord, createRecord, updateRecord, deleteRecordApp Data SDK
Catalog: getStore, getProducts, getProductById, getProductBySlug, getProductCategoriesCart: getCart, addToCart, setCartItems, setCartItemQuantity, removeFromCart, clearCartOrders: createOrder, getMyOrders, getMyOrderByIdStore SDK
signInWithWebstorio, signOut, getSession, getCurrentUser, getAuthConfigAuth SDK

Dynamic routes

Pages with wildcard slugs like blog/{content_entry_id} expose params synchronously:
CMS detail URLs use slug + hyphen + entry UUID format.

Sessions and permissions

  • Reads — usually public; no sign-in required.
  • Writes — forms, orders, and App Data may require credentials: "include" and/or a signed-in visitor.
  • App Data — each table’s access preset (public read, signed-in write, etc.) applies.

Calling a method

Every method is available on the global window.webstorio object and returns a promise:
For task-based, in-context examples (listing a blog, wiring a form, building a cart), see the how-to guides. For per-method details, use the feature reference pages above.