Builder

Build a secondary page from description

Creates a new secondary page for a website using AI-powered content generation. This endpoint orchestrates multiple AI service calls to generate page content based on business information and page description.

post/v1/builder/websites/{website_id}/build_secondary_page

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Request body

page_titlestring required

Title for the new page

page_descriptionstring required

Description of the page content to be generated

post_status'draft' | 'publish'

Publication status of the page

Example request

{
  "page_title": "About Us",
  "page_description": "A page describing our company history and values",
  "post_status": "draft"
}

Response

Page built successfully

statusinteger

HTTP status code

page_idstring

ID of the created page

Example response

{
  "status": 200,
  "page_id": "204"
}

Changes

No recorded changes to this operation across all 1 revision of this API.