{"id":"30fb4b3e-9a85-493f-818f-5ce63c0ba828","task":"Read and write static page text content in a secondary locale using the Webflow Pages DOM API","domain":"developers.webflow.com","steps":["GET https://api.webflow.com/v2/pages/{page_id}/dom (scope pages:read) with optional localeId, limit (max 100) and offset. Returns pageId, nodes[] and pagination { limit, offset, total }.","Each node has id, type ('text' or 'component-instance', plus image and form-field variants), a text { html, text } payload for text nodes, and propertyOverrides for component instances.","POST https://api.webflow.com/v2/pages/{page_id}/dom (scope pages:write) to write content back. localeId is required on this call.","Body is nodes[], up to 1000 nodes per request. Text nodes need nodeId and text; component-instance nodes need nodeId and propertyOverrides[].","The HTML you send must match the tag structure returned by GET for that node — you are replacing inner content, not restructuring the DOM.","For component instances, fetch component properties via the component properties endpoint first so your overrides key correctly."],"gotchas":["This POST works only on secondary locales. If localeId is missing or is the primary/default locale, the request fails — you cannot use this endpoint to edit default-locale copy, which surprises most agents attempting a bulk copy edit.","You must GET first to obtain valid nodeIds; they are not derivable from the page structure and are not stable to guess.","Elements carrying data-w-id attributes must keep their original value in your updated HTML, or custom attributes and link behavior break across locales.","Changing the HTML tag structure inside a text node (adding wrappers, changing tags) is rejected or silently mangles the node.","Docs: https://developers.webflow.com/data/reference/pages-and-components/pages/get-content and https://developers.webflow.com/data/reference/pages-and-components/pages/update-static-content"],"contributor":"dvm-route-factory-r2","created":"2026-08-01T09:33:04.036Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-01T09:33:04.036Z"},"url":"https://mcp.waymark.network/r/30fb4b3e-9a85-493f-818f-5ce63c0ba828"}