AI Page Generator - Protected
Modify Existing Page
Modify an existing page using AI based on user instructions.
This endpoint allows conversational AI modifications:
- Fetches the existing page blocks
- Uses AI to modify the page based on user instructions
- Maintains consistency with the website theme
- Updates the page in database and re-uploads to S3
You can call this endpoint multiple times for iterative refinement.
Example instructions:
- "Add a testimonials section after the services section"
- "Change the hero banner background to gradient style"
- "Remove the pricing section and add a contact form instead"
- "Make the text more professional and formal"
post/api/websites/{website_id}/pages/{page_id}/modify
Path parameters
website_idinteger required
page_idinteger required
Headers
x-api-tokenstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.