Skip to main content
PUT
Update Website Page Content

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Headers

Moda-Version
enum<string>
default:2026-05-01

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.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Path Parameters

website_id
string<uuid>
required

Body

application/json
path
string
required

Page route path, e.g. '/' or '/pricing' (normalized: leading slash, no trailing slash; no whitespace).

Required string length: 1 - 500
Pattern: ^\S+$
html
string
required

Replacement HTML for this page.

Required string length: 1 - 5000000
expected_version
integer | null

Optimistic-concurrency pin: when set, the operation is rejected with 409 website_version_conflict unless the site's current version matches. Read the version from any prior response on this surface.

Required range: x >= 1

Response

Successful Response

The response is of type Response Websitesupdatepagecontent · object.