capabilities.work

Publish a Site

A 4-step recipe with Webflow. We can help you get access.

Recipe · 4 steps

Publish a Site

with Webflow

Publish a site to its custom domains or the Webflow subdomain.

  1. List accessible sites to resolve a target site id.
  2. Read the custom domains registered for the site and branch on whether any exist.
  3. Publish the site to the first registered custom domain. Returns HTTP 202 because publishing is queued asynchronously.
  4. Publish the site to the default Webflow subdomain when no custom domains are registered. Returns HTTP 202 because publishing is queued.
What you'll need to have ready
  • siteId: Optional site id; when omitted the first accessible site is used.
For your developer

Arazzo workflow webflow:publish-site, 4 operations: list-sites → get-custom-domains → site-publish → site-publish. Specs on APIs.io.