This is an overview of the changes to the Webflow APIs and related tools. To filter the list, select one or more tags.
DevLink engine file structure update
When you re-export your site with DevLink, you’ll see updated import paths in your exported components. Your components should continue to work without any code changes on your part.
What you’ll see after re-exporting
Updated import paths
Your exported components will have updated import paths for built-in Webflow elements:
Before:
After:
Import paths have changed from ../_Builtin/Block to ../webflow_modules/Basic/components/Block, but your component code remains exactly the same.
Deprecated barrel export removed
The deprecated index.js barrel export file has been removed. This file previously re-exported all DevLink modules with a performance warning.
If you were importing from index.js, you’ll need to update your imports to use specific file paths instead.
Your components still work
✅ No component code changes required — your component code, props, and behavior remain exactly the same
✅ Same export format — component and global CSS file structure is unchanged
✅ Easy update — simply run webflow devlink sync to update your components with the new structure
What changed internally
DevLink engine files have been reorganized from a flat structure into organized folders:
- All internal components moved to
webflow_modules/folder - Components grouped by category (Dropdown, Form, Navbar, etc.)
- Helper functions grouped with their related components
If you directly import DevLink internals
⚠️ If you’ve customized or directly imported DevLink internal files, you may need to update your code.
Recommendation: Avoid importing DevLink internal files directly. If you do, be aware that these files are not part of the external API and are subject to breaking changes with future updates.
For more information, see What DevLink Exports.
Comments API: replies, user search, and webhook enrichment
Comments API: replies, user search, and webhook enrichment
Three additions to the Comments API that enable integrations to participate in comment threads and build richer comment notifications.
New endpoint: Create comment reply
The Create Comment Reply endpoint lets you post a reply to an existing comment thread programmatically.
- Method:
POST /beta/sites/{site_id}/comments/{comment_thread_id}/replies - Scope:
comments:write - Author attribution: The reply is always attributed to the user who authorized the OAuth token.
- Mentions: To @mention a user in a reply, include their user ID in double square brackets in the
content, field such as[[userId]]. Use the new Search Users by Email endpoint to look up user IDs.
Creating a reply automatically fires the comment_created webhook.
New endpoint: Search users by email
The Search Users by Email endpoint lets you look up a workspace user by their exact email address, returning their Webflow user ID for use in comment @mentions.
- Method:
GET /beta/sites/{site_id}/comments/users?email={email} - Scope:
comments:read - Search type: Exact email match only — no partial or fuzzy search.
- Returns an empty array if no user with the specified email address is found.
Webhook enrichment: comment location data
The comment_created webhook payload now includes three new fields that identify where a comment is anchored on a page.
The existing pageId field is unchanged; it always contains the containing page ID.
For comments on CMS items, objectId is the item ID, while pageId is the template page.
These fields are additive. Existing webhook consumers are not affected.
Publishing individual pages
You can now publish an individual page instead of the entire site.
By default, the Publish Site endpoint continues to publish the entire site.
However, you can now pass the ID of a single page in the pageId parameter to publish only that page.
In the case of publishing an individual page, the API publishes:
- The HTML, JSON, and CSS for the selected pages
- All locales for the selected pages
- Page-specific JavaScript for the selected pages
- An updated static manifest that includes the new or updated pages
- An updates sitemap that includes the selected pages
- And updates
manifest.jsonfile to support detail pages (collection templates)
Global resources that have changed since last publish continue to show the version that was on the page in the Designer when the page was published.
Example
To publish an individual page, include the ID of the page to publish:
To publish the full site as usual, omit pageId:
The response now includes a publishScope field to indicate whether the site or an individual page was published:
Webhooks
The Site Publish webhook event has a new publishScope field, which shows site if the entire site was published and page if an individual page was published.
If this field is set to page, the pageId field shows the ID of the page.
MCP v1.2 - Elements, styles, variables, and more
MCP v1.2 - Elements, styles, variables, and more
Version 1.2 of the Webflow MCP server adds new element tools, expanded CSS coverage, full variable management, webhook support, and MCP Bridge App improvements. If you are already using the MCP server, your agents and prompts automatically use this new version.
Elements
-
Create more complex elements: Previously, the element builder could create nested elements only 3 levels deep, but now it can construct arbitrarily deep element trees in a single call. In addition, execution is faster and more element types are supported.
-
Before/after placement: Agents can now place elements before and after existing elements, giving them more precise control over where elements are inserted relative to their siblings.
-
Create elements from raw HTML: A new tool accepts a raw HTML string and converts it directly to Webflow elements.
-
Element query: A new query tool lets agents search and filter elements by type, class, tag, or attribute. Results are returned as a structured tree, not a flat array.
-
Cleaner
get_all_elementsresponse: The response is now a hierarchical tree with only essential data per node, reducing payload size. -
Child depth control on
get_selected_element: Agents can now control the number of levels of children returned when they retrieve an element by providing thedepthparameter. -
remove_element: Agents can now delete elements from the canvas.
Components
-
Component editor with slot support: A new component editor supports no depth limit and slot definition on edit, mirroring the capabilities of the updated element builder.
-
unregister_component: Agents can now remove a component from a site. The tool returns a clear error when the component does not exist or has active instances. -
Read component instance slots: Agents can now read all slots defined on a component instance.
Styles
-
500+ CSS properties: The Style tool now covers 500+ CSS properties. Properties that were previously unsupported no longer fail silently.
-
Improved style search: Style search now supports filtering by property, value, tag, and class name, returning more relevant results with less noise.
-
remove_style: Agents can now delete a style from a site. The tool returns a clear error when the style does not exist or is currently in use.
Variables
-
Custom variable creation: Agents can now create custom variables, including support for
color-mix()andcalc()expressions. -
Read custom variables: Agents can now read all custom variables defined on a site, including their expressions and resolved values.
-
Search variables: A new search action on the Variable tool lets agents filter variables by name, type, or collection ID.
-
Rename and delete variables: Agents can now rename or delete variables. The tool returns a clear error when the variable does not exist or is currently in use.
Webhooks
data_webhook_tool: A new tool covers webhook management, including creating and deleting registrations for specific event trigger types.
Enterprise
list_site_activity: A new action on the Enterprise tool lets agents query site activity logs.
MCP Bridge App
-
Improved UI and observability: The MCP Bridge App now surfaces tool execution stages, status, and timing in real time. Agents and engineers can view tool arguments and responses, export logs, and access quick links for common debugging actions.
-
Improved heartbeat: The heartbeat interval is reduced to prevent premature timeouts. Agents are notified on connection loss and can reconnect without losing state.
Bug fixes
-
Asset: corrupt asset silent failure: Tools that accept asset IDs now return a clear error when the asset does not exist, instead of failing silently. This update applies across all tools.
-
CMS: locale ID required error: Fixed an error where the CMS tool incorrectly required a locale ID in contexts where it was not needed.
-
Site: custom domain required error on publish: Fixed an error where publishing failed when no custom domain was set on the site.
-
Styles: combo class creation bug: Creating a combo class when the base class already exists no longer fails. This behavior now matches the expected in-product behavior.
Resources
- Getting started guide - Setup instructions
- How it works - Tool reference and capabilities
- Skills - Agent skills
- Prompt library - Example prompts
New component methods
These new functions are now available in the Designer API:
webflow.getCurrentComponent(): Get the component that is currently being edited (Beta)element.getParentComponent(): Get the component that contains a given element (Beta)component.getSettings(): Get the name, group, and description of a component (Beta)component.setSettings(): Update one or more settings on a component (Beta)
Beta
These methods are in public beta and may change with future releases.
Getting the selected component
You can now retrieve the component that is currently being edited with the new webflow.getCurrentComponent() function (Beta).
If no component is being edited, the method returns null.
For more information, see Get the selected component.
Getting an element’s parent component
You can now retrieve the component that directly contains a given element with the new element.getParentComponent() function (Beta).
If the element is not inside a component, the method returns null.
For more information, see Get the parent component.
Getting and setting component settings
The new component.getSettings() and component.setSettings() functions let you read and update a component’s name, group, and description in a single call:
For more information, see:
Search for Components
You can now use the webflow.searchComponents(options) method (Beta) to search for Components by name or description.
If you don’t provide a search parameter, the method returns all Components.
If you provide a string search parameter as in the following example, the method returns Components with matching names or descriptions.
Beta
These methods are in public beta and may change with future releases.
For more information, see Search for Components.
Open a canvas
You can now programmatically open a Component’s canvas or navigate to a page with the new webflow.openCanvas() method (Beta).
Beta
These methods are in public beta and may change with future releases.
Previously, Designer Extensions and MCP agents that needed to modify a Component’s internal structure had to rely on the user manually navigating to the component canvas. The openCanvas() method removes that manual step and enables fully automated Component workflows.
openCanvas() accepts a Component ID, a Component reference, or a ComponentElement (instance) reference to open the component canvas.
It also accepts a page ID or Page reference to navigate to a page — equivalent to calling webflow.switchPage().
For more information, see Open a canvas.
Updates to components API
These new and updated functions are now available in the Designer API:
webflow.getComponentByName(name): Get a component by its name and optionally its group (Beta)component.getVariants(): Get all variants of a component (Beta)component.getSelectedVariant(): Get all variants of a component (Beta)
Beta
These methods are in public beta and may change with future releases.
Retrieving a component by name
You can now retrieve a component by its name and optionally its group with the new webflow.getComponentByName() function (Beta):
For more information, see Get component by name (Beta).
Getting component variants
The new functions component.getVariants() and component.getSelectedVariant() get the variants of a component and the selected variant of a component, as in these examples:
For more information, see:
Get all variants of a component: Get all variants of a componentGet selected variant: Get all variants of a component
Updates to components and elements API
These new and updated functions are now available in the Designer API:
webflow.registerComponent(): You can now create a component without passing a root element (Beta)webflow.getComponent(id): This new function returns a component by its ID (Beta)component.getInstanceCount(): This new function gets the total number of (Beta)instances of a component across an entire site
Also, these functions are updated to accept a tag name such as div, h2, or section instead of only a component or element preset:
element.before(newElement)element.after(newElement)element.prepend(newElement)element.append(newElement)
Beta
These methods are in public beta and may change with future releases.
Creating functions without passing a root element
You can now create a component with the webflow.registerComponent() function without passing a root element.
Instead, you can pass an object with the name for the new component and optionally a group and description, as in this example:
For more information, see Create a component.
Getting components by ID
Previously, to access a component in the Designer API, you had to get a list of components with the webflow.getAllComponents() function and filter by ID.
Now you can use the webflow.getComponent(id) function to get a component by its ID, as in this example:
For more information, see Get component by ID.
Getting the number of instances of a component
You can now get the total number of instances of a component across an entire site with the webflow.getInstanceCount() function:
For more information, see Get component instance count.
Inserting elements by tag name
Previously, when you used one of these functions to insert an element, you had to pass a component object or a preset from the webflow.elementPresets object:
element.before(newElement)element.after(newElement)element.prepend(newElement)element.append(newElement)
Now, you can pass an element to create by the name of the tag, such as div, h2, or section, as in these examples:
For more information, see:
Renaming exported custom attributes
Similar to how it renames exported components and props, DevLink now renames or filters out exported custom attributes to ensure that the exported React code is valid.
- HTML5 standard names such as
tabindexandmaxlengthare capitalized according to React standards, in this exampletabIndexandmaxLength - Attributes that have a React equivalent, such as
classandfor, are converted to the React equivalent, in this exampleclassNameandhtmlFor - Attributes that match event handler names such as
onClickandonMouseOverare filtered out, regardless of case - Attributes that start with numbers are filtered out
- Attributes that are incomplete, such as
data-andaria-are filtered out - Attributes named with an empty string are filtered out
- Attributes containing invalid characters, such as
my-😀-attr, are filtered out - Any other invalid HTML5 attributes are filtered out
DevLink prints a warning to your CLI console, and adds JSDoc Invalid Attribute comments, when it filters out attributes due to these rules, except when removing attributes with an empty string as their name.
For example, this exported code shows a warning about a custom attribute that was filtered out:
For more information, see What DevLink Exports.