Section Based AI
Generate a website using a previously created outline, styles, and secondary pages
post/v1/ai/generate_site_from_sitemap
Request
- Base URLhttps://api.10web.io
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-keystring required
API key for authentication
Request body
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
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.