This is an overview of the changes to the Webflow APIs and related tools. To filter the list, select one or more tags.
Support for additional well-known files and CMS field types
Support for additional well-known files and CMS field types
Add and manage well-known files
Upload well-known files to sites with the following requirements:
- File size must be less than 100KB per file
- Maximum of 30 files total
- Files must have one of these extensions (or no extension):
.txt.json.noext- A special extension that removes other extensions when uploaded. This helps compatibility with tools that require file extensions
Example:apple-app-site-association.noext.txtwill be uploaded asapple-app-site-association
New CMS field type: Option
- 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.
Enhancements to CMS fields and site configuration
The Data API now supports creating reference fields and creating multiple fields during collection creation.
- Create reference fields
To create a reference field, chooseMultiReferenceorReferenceas thetypeproperty in thefieldobject. Additionally, include themetadataproperty to specify thecollectionIdof the collection that the reference field will point to. You can create a reference field during collection creation using the create collection endpoint or by updating an existing collection using the create collection field endpoint. - Create fields during collection creation
You can now create multiple fields during collection creation using the create collection endpoint. Collections are limited to 60 fields per collection.
Add and manage robots.txt
- Configure
robots.txt.
Use the following endpoints to get and update yourrobots.txtfile:
Create and manage variable collections
Variable collections provide an organizational structure for managing related variables. Collections allow you to group variables logically - for example, you might create separate collections for brand colors, typography, or spacing variables. Collections help maintain a clean and organized variable system, making it easier to manage design tokens at scale across your projects.
Use the following endpoints to create and manage variable collections.