AI Website Generator - Protected

Generate Website

Start AI website generation job.

This endpoint creates a background job that will:

  1. Scrape the target domain to extract business information
  2. Generate a theme.json based on the website
  3. Generate pages using AI and available blocks
  4. Save everything to the database

Returns a job_id that can be used to check generation status.

post/api/websites/{website_id}/generate

Path parameters

website_idinteger required

Headers

x-api-tokenstring nullable

Request body

domainstring required

Response

Successful Response

job_idinteger required
statusstring required
messagestring required

Changes

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