Section Based AI

Generate a website using a previously created outline, styles, and secondary pages

post/v1/ai/generate_site_from_sitemap

Request

Headers

x-api-keystring required

API key for authentication

Request body

website_idinteger required

The ID of the website to generate the site for

unique_idstring required

The unique identifier of the previously generated sitemap

Example request

{
  "website_id": 18925,
  "unique_id": "ai2_unique_F405Pjih23f88mALR9DxPb1TQ0bld6g8M3uJ_JCH",
  "params": {
    "business_type": "agency",
    "business_name": "My Restaurant",
    "business_description": "Best restaurant in my city",
    "colors": {
      "background_dark": "#212121",
      "primary_color": "#ff69b4",
      "secondary_color": "#ffd700"
    },
    "fonts": {
      "primary_font": "Montserrat"
    },
    "website_description": "Experience the best restaurant in town! My Restaurant offers a unique dining experience with delicious food and a welcoming atmosphere.",
    "website_keyphrase": "best restaurant in city",
    "website_title": "My Restaurant - Best in City",
    "website_type": "basic"
  }
}

Response

Website generated successfully from sitemap

msgstring

Status message

statusinteger

HTTP status code

Example response

{
  "msg": "Success",
  "status": 200,
  "data": {
    "url": "https://subdomain.domain.com"
  }
}

Changes

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