---
title: "WHOLE-SITE generator — up to 6 finished, consistent HTML pages in one call"
method: POST
path: "/api/website/build"
tags: ["Design & Assets"]
---

# WHOLE-SITE generator — up to 6 finished, consistent HTML pages in one call

`POST /api/website/build`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/website/build`
- Auth: API key in header `X-PAYMENT`

WHOLE-SITE generator — up to 6 finished, consistent HTML pages in one call. POST a site name, shared branding (colors, logo, footer), and a pages[] array (each with page_name, headline, content sections, hero images); one seed styles every page identically and a shared nav linking all pages is built automatically. Returns ready-to-upload files plus nav.json. The multi-page version of /api/website/page.

Price: $0.05 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Request body

- object
  - `site_name` string, required: Brand/site name (required)
  - `seed` string: Style seed — omit for random; returned so you can add pages later
  - `template` string: horizon, split, or editorial; omit to let the seed choose
  - `colors` unknown[]: 1-2 accents, hex or CSS names
    - unknown
  - `logo_url` string: Nav logo image URL
  - `logo` object: Auto-generate mark: {query, colors, shape}
  - `footer` string: Footer text (all pages)
  - `pages` unknown[], required: 1-6 pages: [{page_name, headline, title, caption, tagline, hero_images, content, cta}]
    - unknown

## Response `200`

Success

- object
  - `seed` string
  - `template` string
  - `page_count` number
  - `pages` unknown[]
    - unknown
  - `nav_json` object

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
