Skip to navigation

Share Library

Share this site’s library with the workspace and publish a new version with the site’s current components, variables, and assets. Use it for the first share and for each new version.

To preview the changes first, use Start Library Share Changelog. To share an unshared library again without a new version, use Update Library Settings. Code libraries are shared from the Webflow CLI, not this endpoint.

The share runs in the background. Poll Get Library Share Status until status is finished or failed.

Requires permission to share and manage libraries on the site.

Required scope | libraries:write

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

site_idstringRequiredformat: "objectid"
Unique identifier for a Site

Request

This endpoint expects an object.
descriptionstringOptional
Release notes for this version.
excludedAssetFolderIdslist of stringsOptional

Asset folders of this site to leave out of the library. NO_FOLDER leaves out assets outside any folder. Replaces the stored list. When omitted, the stored list stays.

Response headers

LocationstringOptional
URL of Get Library Share Status for this site

Response

The share is queued
statusenum
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error