---
title: "Build a secondary page from description"
method: POST
path: "/v1/builder/websites/{website_id}/build_secondary_page"
tags: ["Builder"]
---

# Build a secondary page from description

`POST /v1/builder/websites/{website_id}/build_secondary_page`

## Request

- Base URL: `https://api.10web.io`
- URL: `https://api.10web.io/v1/builder/websites/{website_id}/build_secondary_page`
- Auth: none declared. Required headers: `x-api-key`
- TypeScript: <https://skmtc.dev/10web/apis/10web-api-v1/docs/v1/builder/websites/:website_id/build_secondary_page/post.ts> (a function with typed inputs; its response is checked against the schema)

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.

## Path parameters

- `website_id` integer, required

## Headers

- `x-api-key` string, required

## Request body

- BuildSecondaryPageRequest
  - `page_title` string, required: Title for the new page
  - `page_description` string, required: Description of the page content to be generated
  - `post_status` 'draft' | 'publish': Publication status of the page

## Response `200`

Page built successfully

- BuildSecondaryPageResponse
  - `status` integer: HTTP status code
  - `page_id` string: ID of the created page

## Other responses

- `400`: Bad request
- `403`: Unauthorized access
- `429`: Too many requests
- `500`: Something went wrong

---

[API](https://skmtc.dev/10web/apis/10web-api-v1.md) - [All operations](https://skmtc.dev/10web/apis/10web-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/10web/apis/10web-api-v1/revisions/01afc9651dfc?raw)
