{ "opencollection": "1.0.0", "info": { "name": "Webflow Assets Asset Folders Sites API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Sites", "type": "folder" }, "items": [ { "info": { "name": "Webflow List Collections", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/collections", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List of all Collections within a Site.\n\nRequired scope | `cms:read`\n" }, { "info": { "name": "Webflow Create Collection", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/sites/:site_id/collections", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a Collection for a site with collection fields.\n\nEach collection includes the required _name_ and _slug_ fields, which are generated automatically. You can update the `displayName` of these fields, but the slug for them cannot be changed. Fields slugs are automatically converted to lowercase. Spaces in slugs are replaced with hyphens.\n\nRequired scope | `cms:write`\n" }, { "info": { "name": "Webflow Get Collection Details", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/collections/:collection_id", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the full details of a collection from its ID.\n\nRequired scope | `cms:read`\n" }, { "info": { "name": "Webflow Delete Collection", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/collections/:collection_id", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a collection using its ID.\n\nRequired scope | `cms:write`\n" }, { "info": { "name": "Webflow Create Collection Field", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/collections/:collection_id/fields", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a custom field in a collection.\n\nField validation is currently not available through the API.\n\nBulk creation of fields is not supported with this endpoint. To add multiple fields at once, include them when you [create the collection.](/data/v2.0.0/reference/cms/collections/create)\n\nRequired scope | `cms:write`\n" }, { "info": { "name": "Webflow Update Collection Field", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.webflow.com/v2/collections/:collection_id/fields/:field_id", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "field_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Field in a collection" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a custom field in a collection.\n\nRequired scope | `cms:write`\n" }, { "info": { "name": "Webflow Delete Collection Field", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/collections/:collection_id/fields/:field_id", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "field_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Field in a collection" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a custom field in a collection. This endpoint does not currently support bulk deletion.\n\nRequired scope | `cms:write`\n" }, { "info": { "name": "Webflow List Comment Threads", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/comments", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "localeId", "value": "65427cf400e02b306eaa04a0", "type": "query", "description": "Unique identifier for a specific Locale.\n\n[Lear more about localization.](/data/v2.0.0/docs/working-with-localization)\n" }, { "name": "offset", "value": "0", "type": "query", "description": "Offset used for pagination if the results have more than limit records" }, { "name": "limit", "value": "100", "type": "query", "description": "Maximum number of records to be returned (max limit: 100)" }, { "name": "sortBy", "value": "", "type": "query", "description": "Sort results by the provided value. Only allowed when sortOrder is provided." }, { "name": "sortOrder", "value": "", "type": "query", "description": "Sorts the results by asc or desc" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List all comment threads for a site.\n\n\n There may be a delay of up to 5 minutes before new comments appear in the system.\n\n\nRequired scope | `comments:read`\n" }, { "info": { "name": "Webflow Get Comment Thread", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/comments/:comment_thread_id", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "comment_thread_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Comment Thread" }, { "name": "localeId", "value": "65427cf400e02b306eaa04a0", "type": "query", "description": "Unique identifier for a specific Locale.\n\n[Lear more about localization.](/data/v2.0.0/docs/working-with-localization)\n" }, { "name": "offset", "value": "0", "type": "query", "description": "Offset used for pagination if the results have more than limit records" }, { "name": "limit", "value": "100", "type": "query", "description": "Maximum number of records to be returned (max limit: 100)" }, { "name": "sortBy", "value": "", "type": "query", "description": "Sort results by the provided value. Only allowed when sortOrder is provided." }, { "name": "sortOrder", "value": "", "type": "query", "description": "Sorts the results by asc or desc" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get details of a specific comment thread.\n\n \n There may be a delay of up to 5 minutes before new comments appear in the system.\n \n\nRequired scope | `comments:read`\n" }, { "info": { "name": "Webflow List Comment Replies", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/comments/:comment_thread_id/replies", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "comment_thread_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Comment Thread" }, { "name": "localeId", "value": "65427cf400e02b306eaa04a0", "type": "query", "description": "Unique identifier for a specific Locale.\n\n[Lear more about localization.](/data/v2.0.0/docs/working-with-localization)\n" }, { "name": "offset", "value": "0", "type": "query", "description": "Offset used for pagination if the results have more than limit records" }, { "name": "limit", "value": "100", "type": "query", "description": "Maximum number of records to be returned (max limit: 100)" }, { "name": "sortBy", "value": "", "type": "query", "description": "Sort results by the provided value. Only allowed when sortOrder is provided." }, { "name": "sortOrder", "value": "", "type": "query", "description": "Sorts the results by asc or desc" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List all replies to a specific comment thread.\n\n\n There may be a delay of up to 5 minutes before new comments appear in the system.\n\n\nRequired scope | `comments:read`\n" }, { "info": { "name": "Webflow Get Custom Code", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/pages/:page_id/custom_code", "params": [ { "name": "page_id", "value": "63c720f9347c2139b248e552", "type": "path", "description": "Unique identifier for a Page" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get all scripts applied to a page.\n\nRequired scope | `custom_code:read`\n" }, { "info": { "name": "Webflow Add/Update Custom Code", "type": "http" }, "http": { "method": "PUT", "url": "https://api.webflow.com/v2/pages/:page_id/custom_code", "params": [ { "name": "page_id", "value": "63c720f9347c2139b248e552", "type": "path", "description": "Unique identifier for a Page" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Apply registered scripts to a page. If you have multiple scripts your App needs to apply or maintain on a page, ensure they are always included in the request body for this endpoint. To remove individual scripts, simply call this endpoint without the script in the request body.\n\n\n To apply a script to a page, the script must first be registered to a Site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registere" }, { "info": { "name": "Webflow Delete Custom Code", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/pages/:page_id/custom_code", "params": [ { "name": "page_id", "value": "63c720f9347c2139b248e552", "type": "path", "description": "Unique identifier for a Page" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Remove all scripts from a page applied by the App. This endpoint will not remove scripts from the site's registered scripts.\n\nTo remove individual scripts applied by the App, use the [Add/Update Custom Code](/data/reference/custom-code/custom-code-pages/upsert-custom-code) endpoint.\n\nAccess to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).\n\nRequired scope | `custom_code:write`\n" }, { "info": { "name": "Webflow Get Custom Code", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/custom_code", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get all scripts applied to a site by the App.\n\n\n To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n\n\nRequired scope | `custom_code:read`\n" }, { "info": { "name": "Webflow Add/Update Custom Code", "type": "http" }, "http": { "method": "PUT", "url": "https://api.webflow.com/v2/sites/:site_id/custom_code", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Apply registered scripts to a site. If you have multiple scripts your App needs to apply or maintain on a site, ensure they are always included in the request body for this endpoint. To remove individual scripts, simply call this endpoint without the script in the request body.\n\n\n To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once r" }, { "info": { "name": "Webflow Delete Custom Code", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/sites/:site_id/custom_code", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Remove all scripts from a site applied by the App. This endpoint will not remove scripts from the site's registered scripts.\n\nTo remove individual scripts applied by the App, use the [Add/Update Custom Code](/data/reference/custom-code/custom-code-sites/upsert-custom-code) endpoint.\n\nAccess to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).\n\nRequired scope | `custom_code:write`\n" }, { "info": { "name": "Webflow Create Site", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/workspaces/:workspace_id/sites", "params": [ { "name": "workspace_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Workspace" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a site.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope | `workspace:write`\n" }, { "info": { "name": "Webflow List Sites", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List of all sites the provided access token is able to access.\n\nRequired scope | `sites:read`\n" }, { "info": { "name": "Webflow Get Site", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get details of a site.\n\nRequired scope | `sites:read`\n" }, { "info": { "name": "Webflow Update Site", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.webflow.com/v2/sites/:site_id", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a site.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope | `sites:write`\n" }, { "info": { "name": "Webflow Delete Site", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/sites/:site_id", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a site.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope | `sites:write`\n" }, { "info": { "name": "Webflow Get Custom Domains", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/custom_domains", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get a list of all custom domains related to site.\n\nRequired scope | `sites:read`\n" }, { "info": { "name": "Webflow Publish Site", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/sites/:site_id/publish", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Publishes a site to one or more more domains.\n\nTo publish to a specific custom domain, use the domain IDs from the [Get Custom Domains](/data/reference/sites/get-custom-domain) endpoint.\n\nYou must include at least one of the `customDomains` or `publishToWebflowSubdomain` properties in the request body.\n\nThis endpoint has a specific rate limit of one successful publish queue per minute.\n\nRequired scope | `sites:write`\n" }, { "info": { "name": "Webflow Get 301 redirects", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/redirects", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Fetch a list of all 301 redirect rules configured for a specific site.\n\nUse this endpoint to review, audit, or manage the redirection rules that control how traffic is rerouted on your site.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope: `sites:read`\n" }, { "info": { "name": "Webflow Create a 301 redirect", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/sites/:site_id/redirects", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Add a new 301 redirection rule to a site.\n\nThis endpoint allows you to define a source path (`fromUrl`) and its corresponding destination path (`toUrl`), which will dictate how traffic is rerouted on your site. This is useful for managing site changes, restructuring URLs, or handling outdated links.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope: `sites:write`\n" }, { "info": { "name": "Webflow Update 301 redirect", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.webflow.com/v2/sites/:site_id/redirects/:redirect_id", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "redirect_id", "value": "66c4cb9a20cac35ed19500e6", "type": "path", "description": "Unique identifier site redirect" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a 301 redirection rule from a site.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope: `sites:write`\n" }, { "info": { "name": "Webflow Delete 301 redirects", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/sites/:site_id/redirects/:redirect_id", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "redirect_id", "value": "66c4cb9a20cac35ed19500e6", "type": "path", "description": "Unique identifier site redirect" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Remove a 301 redirection rule from a site.\n\nThis is useful for cleaning up outdated or unnecessary redirects, ensuring that your site's routing behavior remains efficient and up-to-date.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope: `sites:write`\n" }, { "info": { "name": "Webflow Get Site Plan", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/plan", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get site plan details for the specified Site.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope | `sites:read`\n" }, { "info": { "name": "Webflow Get robots.txt", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/robots_txt", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieve the robots.txt configuration for various user agents.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope: `site_config:read`\n" }, { "info": { "name": "Webflow Replace robots.txt", "type": "http" }, "http": { "method": "PUT", "url": "https://api.webflow.com/v2/sites/:site_id/robots_txt", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Replace the `robots.txt` configuration for various user agents.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope | `site_config:write`\n" }, { "info": { "name": "Webflow Update robots.txt", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.webflow.com/v2/sites/:site_id/robots_txt", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update the `robots.txt` configuration for various user agents.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope | `site_config:write`\n" }, { "info": { "name": "Webflow Delete robots.txt", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/sites/:site_id/robots_txt", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Remove specific rules for a user-agent in your `robots.txt` file. To delete all rules for a user-agent, provide an empty rule set. This will remove the user-agent's entry entirely, leaving it subject to your site's default crawling behavior.\n\n**Note:** Deleting a user-agent with no rules will make the user-agent's access unrestricted unless other directives apply.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope: `site_config:write`\n" }, { "info": { "name": "Webflow Set a well-known file", "type": "http" }, "http": { "method": "PUT", "url": "https://api.webflow.com/v2/sites/:site_id/well_known", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Upload a supported well-known file to a site.\n\nThe current restrictions on well-known files are as follows:\n - Each file must be smaller than 100kb\n - Less than 30 total files\n - Have one of the following file extensions (or no extension): `.txt`, `.json`, `.noext`\n\n \n `.noext` is a special file extension that removes other extensions. For example, `apple-app-site-association.noext.txt` will be uploaded as `apple-app-site-association`. Use this extension for tools tha" }, { "info": { "name": "Webflow Delete a well-known file", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/sites/:site_id/well_known", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete existing well-known files from a site.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope: `site_config:write`\n" }, { "info": { "name": "Webflow Get Site Activity Logs", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/activity_logs", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "limit", "value": "100", "type": "query", "description": "Maximum number of records to be returned (max limit: 100)" }, { "name": "offset", "value": "0", "type": "query", "description": "Offset used for pagination if the results have more than limit records" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieve Activity Logs for a specific Site.\n\nThis endpoint requires an Enterprise workspace.\n\nRequired scope: `site_activity:read`\n" }, { "info": { "name": "Webflow List Collection Items", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/collections/:collection_id/items", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "cmsLocaleId", "value": "", "type": "query", "description": "Unique identifier for a CMS Locale. This UID is different from the Site locale identifier and is listed as `cmsLocaleId` in the Sites response. To query multiple locales, input a comma separated string." }, { "name": "offset", "value": "0", "type": "query", "description": "Offset used for pagination if the results have more than limit records" }, { "name": "limit", "value": "100", "type": "query", "description": "Maximum number of records to be returned (max limit: 100)" }, { "name": "name", "value": "", "type": "query", "description": "Filter by the exact name of the item(s)" }, { "name": "slug", "value": "", "type": "query", "description": "Filter by the exact slug of the item" }, { "name": "lastPublished", "value": "", "type": "query", "description": "Filter by the last published date of the item(s)" }, { "name": "sortBy", "value": "", "type": "query", "description": "Sort results by the provided value" }, { "name": "sortOrder", "value": "", "type": "query", "description": "Sorts the results by asc or desc" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List of all Items within a Collection.\n\nRequired scope | `CMS:read`\n" }, { "info": { "name": "Webflow Create Collection Item(s)", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/collections/:collection_id/items", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "skipInvalidFiles", "value": "true", "type": "query", "description": "When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create Item(s) in a Collection.\n\n\nTo create items across multiple locales, please use [this endpoint.](/data/reference/cms/collection-items/staged-items/create-items)\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Update Collection Items", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.webflow.com/v2/collections/:collection_id/items", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "skipInvalidFiles", "value": "true", "type": "query", "description": "When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a single item or multiple items in a Collection.\n\nThe limit for this endpoint is 100 items.\n\nItems will only be updated in the primary locale, unless a `cmsLocaleId` is included in the request.\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Delete Collection Items", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/collections/:collection_id/items", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete Items from a Collection.\n\nItems will only be deleted in the primary locale unless a `cmsLocaleId` is included in the request.\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow List Live Collection Items", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/collections/:collection_id/items/live", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "cmsLocaleId", "value": "", "type": "query", "description": "Unique identifier for a CMS Locale. This UID is different from the Site locale identifier and is listed as `cmsLocaleId` in the Sites response. To query multiple locales, input a comma separated string." }, { "name": "offset", "value": "0", "type": "query", "description": "Offset used for pagination if the results have more than limit records" }, { "name": "limit", "value": "100", "type": "query", "description": "Maximum number of records to be returned (max limit: 100)" }, { "name": "name", "value": "", "type": "query", "description": "Filter by the exact name of the item(s)" }, { "name": "slug", "value": "", "type": "query", "description": "Filter by the exact slug of the item" }, { "name": "lastPublished", "value": "", "type": "query", "description": "Filter by the last published date of the item(s)" }, { "name": "sortBy", "value": "", "type": "query", "description": "Sort results by the provided value" }, { "name": "sortOrder", "value": "", "type": "query", "description": "Sorts the results by asc or desc" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List all published items in a collection.\n\n\n Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.\n\n\nRequired scope | `CMS:read`\n" }, { "info": { "name": "Webflow Create Live Collection Item(s)", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/collections/:collection_id/items/live", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "skipInvalidFiles", "value": "true", "type": "query", "description": "When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create item(s) in a collection that will be immediately published to the live site.\n\n\nTo create items across multiple locales, [please use this endpoint.](/data/reference/cms/collection-items/staged-items/create-items)\n\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Update Live Collection Items", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.webflow.com/v2/collections/:collection_id/items/live", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "skipInvalidFiles", "value": "true", "type": "query", "description": "When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a single published item or multiple published items (up to 100) in a Collection\n\nItems will only be updated in the primary locale, unless a `cmsLocaleId` is included in the request.\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Unpublish Live Collection Items", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/collections/:collection_id/items/live", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Unpublish up to 100 items from the live site and set the `isDraft` property to `true`.\n\nItems will only be unpublished in the primary locale unless a `cmsLocaleId` is included in the request.\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Create Collection Items", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/collections/:collection_id/items/bulk", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "skipInvalidFiles", "value": "true", "type": "query", "description": "When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create an item or multiple items in a CMS Collection across multiple corresponding locales.\n\n\n - This endpoint can create up to 100 items in a request.\n - If the `cmsLocaleIds` parameter is not included in the request, an item will only be created in the primary locale.\n\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Get Collection Item", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/collections/:collection_id/items/:item_id", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "item_id", "value": "580e64008c9a982ac9b8b754", "type": "path", "description": "Unique identifier for an Item" }, { "name": "cmsLocaleId", "value": "", "type": "query", "description": "Unique identifier for a CMS Locale. This UID is different from the Site locale identifier and is listed as `cmsLocaleId` in the Sites response. To query multiple locales, input a comma separated string." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get details of a selected Collection Item.\n\nRequired scope | `CMS:read`\n" }, { "info": { "name": "Webflow Update Collection Item", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.webflow.com/v2/collections/:collection_id/items/:item_id", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "item_id", "value": "580e64008c9a982ac9b8b754", "type": "path", "description": "Unique identifier for an Item" }, { "name": "skipInvalidFiles", "value": "true", "type": "query", "description": "When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a selected Item in a Collection.\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Delete Collection Item", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/collections/:collection_id/items/:item_id", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "item_id", "value": "580e64008c9a982ac9b8b754", "type": "path", "description": "Unique identifier for an Item" }, { "name": "cmsLocaleId", "value": "", "type": "query", "description": "Unique identifier for a CMS Locale. This UID is different from the Site locale identifier and is listed as `cmsLocaleId` in the Sites response. To query multiple locales, input a comma separated string." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete an item from a collection.\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Get Live Collection Item", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/collections/:collection_id/items/:item_id/live", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "item_id", "value": "580e64008c9a982ac9b8b754", "type": "path", "description": "Unique identifier for an Item" }, { "name": "cmsLocaleId", "value": "", "type": "query", "description": "Unique identifier for a CMS Locale. This UID is different from the Site locale identifier and is listed as `cmsLocaleId` in the Sites response. To query multiple locales, input a comma separated string." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get details of a selected Collection live Item.\n\n\n Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.\n\n\nRequired scope | `CMS:read`\n" }, { "info": { "name": "Webflow Update Live Collection Item", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.webflow.com/v2/collections/:collection_id/items/:item_id/live", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "item_id", "value": "580e64008c9a982ac9b8b754", "type": "path", "description": "Unique identifier for an Item" }, { "name": "skipInvalidFiles", "value": "true", "type": "query", "description": "When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a selected live Item in a Collection. The updates for this Item will be published to the live site.\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Unpublish Live Collection Item", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.webflow.com/v2/collections/:collection_id/items/:item_id/live", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" }, { "name": "item_id", "value": "580e64008c9a982ac9b8b754", "type": "path", "description": "Unique identifier for an Item" }, { "name": "cmsLocaleId", "value": "", "type": "query", "description": "Unique identifier for a CMS Locale. This UID is different from the Site locale identifier and is listed as `cmsLocaleId` in the Sites response. To query multiple locales, input a comma separated string." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Unpublish a live item from the site and set the `isDraft` property to `true`.\n\nFor bulk unpublishing, please use [this endpoint.](/data/v2.0.0/reference/cms/collection-items/live-items/delete-items-live)\n\nRequired scope | `CMS:write`\n" }, { "info": { "name": "Webflow Publish Collection Item", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/collections/:collection_id/items/publish", "params": [ { "name": "collection_id", "value": "580e63fc8c9a982ac9b8b745", "type": "path", "description": "Unique identifier for a Collection" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webflow.com/oauth/authorize", "accessTokenUrl": "https://api.webflow.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Publish an item or multiple items.\n\nRequired scope | `cms:write`\n" } ] } ], "bundled": true }