Update Website Content
Replace the site’s page content with new HTML.
Content changes do NOT auto-republish: a live site keeps serving its last
published artifact until POST …/publish runs again (the returned
has_unpublished_changes signals the gap).
Authorizations
API key from Settings > Developer > REST API
Headers
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
2026-04-12, 2026-05-01 "2026-05-01"
Path Parameters
Body
Replacement HTML for the site's page.
1 - 5000000New site title (unchanged when omitted).
255Optimistic-concurrency pin: when set, the update is rejected with 409 website_version_conflict unless the site's current version matches. Read the version from any prior response on this surface.
x >= 1Response
Successful Response
The response is of type Response Websitesupdatecontent · object.