This is an overview of the changes to the Webflow APIs and related tools. To filter the list, select one or more tags.
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.