Designer API form controls and enhanced CMS capabilities
CMS API improvements Data API v2
- Create Option fields
Option fields let you define a predefined list of choices for a collection item. You can add these fields either when creating a new collection via the create collection endpoint or add them to existing collections using the create collection field endpoint.
Introducing comments APIs Data API v2 - beta
Webflow’s API now supports operations to retrieve comments on a site with these new endpoints:
-
List all comment threads - Get all comment threads for a site.
-
Get comment thread - Retrieve a specific comment thread by ID with full details.
-
List comment replies - Get all replies for a specific comment thread.
Comment replies aren’t included in the initial thread listing. To retrieve replies, first get the Comment Thread ID from the list endpoint, then use that ID with the replies endpoint.
Localization improvements for components Designer API
- Retrieve and update additional component node types
In addition to Text and Nested Component Instances, you can now update the following node types:text-input
- Update placeholder text on a text input nodeselect
- Update choices on a select nodesubmit-button
- Update text and waiting message on a submit button nodesearch-input
- Update text on a search button node
Managing forms Designer API
Webflow’s Designer API now supports the following methods for Form elements:
Support for variable modes Designer API
Variable modes let you define multiple values for individual variables, creating distinct sets of values (“modes”) that can be switched and applied across a site. Create and manage variable modes with the following endpoints:
- Create and manage variable modes
Use the following endpoints to create and manage variable modes: - Set mode-specific variable value
You can now include an option parameter to set a mode-specific variable value. - Get mode-specific variable value
You can now include an option parameter to get a mode-specific variable value.