Developer Hub

Extend your site with code and plugins.

Code mode puts JavaScript on a published page: a file per page, elements addressed by name, a read-only view of your CMS, and a canvas API for scripts that edit the design. Agencies can also build plugins for other sites, with a small SDK inside a sandbox. A public API and a general webhook layer are not available at this time.

The editor in code mode on a sample studio site: the site pages as files on the left, Home.js open in the code panel addressing the hero button by its name, that button selected on the canvas with its id and events in Properties & Events, and the console underneath.
Runtime globals: $w, $page, $cms, $http, $router, $user
6
Element events you can handle
12
Canvas methods for scripts that edit the design
33

These figures are counted directly from the product's code.

What you can build today

Add code to your pages and send data to other systems.

Six capabilities available to developers on a Cliux site today.

Page code in the visitor's browser

Each page has its own script, and masterPage.js runs on every page. Code runs in a sandbox on the published site and uses the runtime globals shown above.

Your CMS, read-only

Find, filter, sort and count items in a collection from page code. Writes stay in the editor, so a script cannot corrupt a collection.

Canvas scripts

Scripts that edit the design itself through a sandboxed canvas API, under a time budget so a loop cannot hang the editor.

HTML and website embeds

Paste a provider's embed code into an HTML embed, or put another site in a frame with the website embed, both sized on the canvas like any element.

Form connections

Every form can send its submissions to a signed webhook (a JSON POST to an https address you set, with an HMAC-SHA256 signature in the X-Cliux-Signature header), a Slack channel or a Google spreadsheet, alongside an email notification. Form connections are currently the way to send site data to another system.

Tracking ids, behind consent

A GA4 measurement id and a Meta Pixel id per site, loaded on the published pages only after the visitor accepts the consent banner.

Plugins

Build a plugin other sites install.

Any agency can build plugins for the plugin market once its owner accepts the developer agreement. A plugin is a bundle of HTML, JavaScript and CSS: a widget a site owner drags onto a page, a screen of its own in the site console, or both.

Sandboxed, always
Plugin files are served from a host of their own and run in a sandboxed frame with no access to the site, the console or the visitor's session. Every server a plugin contacts is declared in its manifest and enforced by the browser.
A small SDK in the frame
Your pages load the SDK script and talk to the page around them over one channel: context.get, settings.get and settings changes, storage get, set, delete and list, ui.resize, ui.openLink, and token.get on the console screen.
A signed token for your server
The console screen can ask for a short-lived signed token naming your plugin, the install, the version and what it runs as (free, trialing, active, grace or test), with the site and the person as pseudonyms that differ for every plugin. Verify it against the published keys.
Reviewed before it runs
Every version is read by the review team before it runs on any site but your own, where you can test it first. A version is immutable once uploaded, and an update that asks for more than a site agreed to waits for its owner.
Free or paid
A plugin is free, or a subscription per site paid to your own Stripe account, monthly or yearly, with an optional trial. The terms are in the developer agreement your agency's owner accepts.
Tracking, with consent
A plugin that measures visitors says so in its manifest, waits for the visitor's consent on the published site, and measures only when its context says the page is published, never in the owner's editor or previews.

Limitations

Features not available at this time.

The items below are not part of the Cliux platform at this time.

A public API or API keys
There is no REST or GraphQL endpoint for your site's data, and API keys cannot be issued.
A general webhook layer
Forms send their submissions to a webhook, Slack or Google Sheets; orders, bookings, members and contacts do not fire events anywhere yet.
A package to install
Page code is written in the editor and runs from there, and the plugin SDK is a script your plugin loads from Cliux: nothing comes from npm.
Server-side code
Page code runs in the visitor's browser. Running code on the server is not available at this time.
An MCP server or an AI agent interface
There is no interface for other software or AI agents to connect to; access is through the editor only.

Last reviewed against the code on 30 September 2026.

Frequently asked questions

Have other questions? Write to [email protected], orUse the contact form

Cliux does not offer a public API at this time. There is no endpoint for your site's data and no API key. The only SDK is the plugin SDK, which runs inside a plugin's sandboxed frame. If your project needs an API, tell us what you would build through the contact form.

Address elements by name and handle their events, read your CMS collections, react to the page lifecycle, and, in the editor, run canvas scripts that change the design. The Code Editor page lists the runtime globals, the events and the canvas methods.

A form can POST every submission as signed JSON to an https address you give it, post it to a Slack channel or add it as a row to a Google spreadsheet, and email you at the same time; the forms inbox exports CSV. Orders, bookings and members are read in the console today, not pushed anywhere.

Through the HTML embed element, and for GA4 and the Meta Pixel through the tracking fields on the SEO screen, which load only after consent. There is no site-wide head or footer code field.

Feedback

Tell us what you would build.

Building and previewing are free. Publishing a site, at its Cliux address or on your own domain, is $192 a year on the Website plan, and selling starts on the Business plan.

  • Why Cliux?
  • Freeform canvas
  • Ten business cores
  • Phone layout, derived
  • Your own domain
  • Code mode