{ "opencollection": "1.0.0", "info": { "name": "Webflow Assets Asset Folders Components 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": "Components", "type": "folder" }, "items": [ { "info": { "name": "Webflow List Components", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/components", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "branchId", "value": "68026fa68ef6dc744c75b833", "type": "query", "description": "Scope the operation to work on a specific branch." }, { "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": "List of all components for a site.\n\nRequired scope | `components:read`\n" }, { "info": { "name": "Webflow Get Component Content", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/components/:component_id/dom", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "component_id", "value": "8505ba55-ef72-629e-f85c-33e4b703d48b", "type": "path", "description": "Unique identifier for a Component" }, { "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": "branchId", "value": "68026fa68ef6dc744c75b833", "type": "query", "description": "Scope the operation to work on a specific branch." }, { "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": "Get static content from a component definition. This includes text nodes, image nodes, select nodes, text input nodes, submit button nodes, and nested component instances.\nTo retrieve dynamic content set by component properties, use the [get component properties](/data/reference/pages-and-components/components/get-properties) endpoint.\n\nIf you do not provide a Locale ID in your request, the response will return any content that can be localized from the Primary locale.\n\nRequired sco" }, { "info": { "name": "Webflow Update Component Content", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/sites/:site_id/components/:component_id/dom", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "component_id", "value": "8505ba55-ef72-629e-f85c-33e4b703d48b", "type": "path", "description": "Unique identifier for a Component" }, { "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": "branchId", "value": "68026fa68ef6dc744c75b833", "type": "query", "description": "Scope the operation to work on a specific branch." } ], "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": "This endpoint updates content within a component defintion for **secondary locales**. It supports updating up to 1000 nodes in a single request.\n\nBefore making updates:\n1. Use the [get component content](/data/reference/pages-and-components/components/get-content) endpoint to identify available content nodes and their types.\n2. If your component definition has a component instance nested within it, retrieve the nested component instance's properties that you'll override using the [get component " }, { "info": { "name": "Webflow Get Component Properties", "type": "http" }, "http": { "method": "GET", "url": "https://api.webflow.com/v2/sites/:site_id/components/:component_id/properties", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "component_id", "value": "8505ba55-ef72-629e-f85c-33e4b703d48b", "type": "path", "description": "Unique identifier for a Component" }, { "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": "branchId", "value": "68026fa68ef6dc744c75b833", "type": "query", "description": "Scope the operation to work on a specific branch." }, { "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": "Get the default property values of a component definition.\n\nIf you do not include a `localeId` in your request, the response will return any properties that can be localized from the Primary locale.\n\nRequired scope | `components:read`\n" }, { "info": { "name": "Webflow Update Component Properties", "type": "http" }, "http": { "method": "POST", "url": "https://api.webflow.com/v2/sites/:site_id/components/:component_id/properties", "params": [ { "name": "site_id", "value": "580e63e98c9a982ac9b8b741", "type": "path", "description": "Unique identifier for a Site" }, { "name": "component_id", "value": "8505ba55-ef72-629e-f85c-33e4b703d48b", "type": "path", "description": "Unique identifier for a Component" }, { "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": "branchId", "value": "68026fa68ef6dc744c75b833", "type": "query", "description": "Scope the operation to work on a specific branch." } ], "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 default property values of a component definition in a specificed locale.\n\nBefore making updates:\n1. Use the [get component properties](/data/reference/pages-and-components/components/get-properties) endpoint to identify properties that can be updated in a secondary locale.\n2. Rich Text properties may include a `data-w-id` attribute. This attribute is used by Webflow to maintain links across locales. Always include the original `data-w-id` value in your update requests to ensure consi" } ] } ], "bundled": true }