PATCH
/hyax-api/v1/landing-pages/:idUpdate landing page
Send only changed fields. The `content` field replaces the complete builder document rather than merging it. Every update automatically creates a rollback version. FULL_AI content and CSS pass through the same server-side hardening used by the editor.
Base URL: https://platform.hyax.com · Replace YOUR_API_KEY with your team API key.
Request body
| Field | Required | Description |
|---|---|---|
name | No | Internal page name |
description | No | Internal description or null |
status | No | `DRAFT` | `PUBLISHED` | `ARCHIVED` |
slug | No | Lowercase letters, numbers, and hyphens |
builderMode | No | `FULL_AI` | `AI_MANUAL` |
content | No | Complete builder content JSON (max 2,000,000 characters) |
advancedRuntime | No | Advanced animation runtime object or null |
pageTitle | No | SEO title or null |
pageDescription | No | SEO description or null |
customCss | No | Page CSS or null |
customHeadCode | No | JavaScript executed in the document head or null |
customBodyCode | No | JavaScript executed before body close or null |
Request
curl -X PATCH 'https://platform.hyax.com/hyax-api/v1/landing-pages/clx_example_id' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "Product launch, revised",
"status": "PUBLISHED",
"pageTitle": "Launch the product",
"customCss": ".hero { min-height: 80vh; }"
}'Response
{
"success": true,
"data": {
"id": "clx…",
"name": "Product launch, revised",
"slug": "product-launch",
"status": "PUBLISHED",
"builderMode": "FULL_AI",
"updatedAt": "2026-07-29T18:05:00.000Z",
"versionCreated": true
}
}