Powering Webflow Apps: How we built Designer APIs - Part 1
Blog post from Webflow
Webflow has launched a new developer platform to expand its App ecosystem, allowing developers to create and integrate Apps with the Webflow Designer through Designer APIs. These APIs enable developers to interact directly with the Webflow canvas, managing elements, styles, and metadata, while ensuring secure and seamless integration through the use of iframes and a content security policy. The architecture allows immediate access to the latest APIs without requiring new npm package installations, using a CLI tool for bundling and launching Apps. Communication between the App and Webflow Designer is facilitated via window.postMessage and a JSON-RPC library, ensuring valid payloads through an intermediary validation layer. The system's internal logic, built on a Flux architecture, manages state changes and processes requests, with a queue tracking API successes and failures. Since the platform's launch, developers have created Apps that enhance user productivity and simplify complex tasks, with ongoing efforts to improve performance and usability.