New CMS APIs and updated webhooks

Overview

As of May 27, 2022, the Webflow Data API now supports unpublishing CMS items, along with improved webhook capabilities and documentation fixes.

New features

CMS item unpublish API

The Webflow Data API now supports unpublishing individual CMS items. This aligns with the unpublish individual items feature in Webflow that allows you to remove CMS content without publishing your entire site.

You can now use the Unpublish API in your code to manage content publication state programmatically.

SDK Update Required: If you’re using the Webflow Node.js SDK, please update to version 0.7.2 or higher to access this functionality.

New webhook trigger: collection_item_unpublished

The API now supports the collection_item_unpublished webhook trigger. This webhook triggers whenever a CMS item is unpublished, enabling integrations to respond to these events in real-time.

Improvements

Enhanced site_publish webhook trigger

The site_publish webhook now includes additional properties, providing better visibility into your site’s publishing activity:

  • domains: The domains where the content was published
  • publishedBy: The user who initiated the publish action

These additions improve tracking capabilities and help with auditing site publishing workflows.

Bug fixes

Product documentation correction

We’ve fixed an incorrect route in the Update Product documentation. The documentation now accurately reflects the API’s functionality.

If you encounter any documentation issues, please let us know through our support channels.