Section Based AI
Generate outline, styles, and secondary pages from a given business description
post/v1/ai/generate_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": 1111,
"params": {
"business_type": "agency",
"business_name": "Model agency",
"business_description": "My model agency is a world wide fashion studio."
}
}Response
Sitemap generated successfully
Example response
{
"msg": "Success",
"status": 200,
"data": {
"business_description": "Best restaurant in my city",
"business_name": "My Restaurant",
"business_type": "agency",
"colors": {
"background_dark": "#212121",
"primary_color": "#ff69b4",
"secondary_color": "#ffd700"
},
"website_id": 18925,
"fonts": {
"primary_font": "Montserrat"
},
"pages_meta": [
{
"description": "The home page is the primary landing page for the website, providing a general overview of the restaurant.",
"sections": [
{
"section_description": "Header section contains the logo, navigation menu, and site title.",
"section_title": "Header"
},
{
"section_description": "Hero section features a captivating image of the restaurant's interior or a delicious dish, along with a brief welcome message.",
"section_title": "Hero"
}
],
"title": "Home"
},
{
"description": "The 'About Us' page provides a detailed description of the restaurant's background, mission, and values.",
"sections": [
{
"section_description": "Our Story section contains a detailed description of the restaurant's history, mission, and values.",
"section_title": "Our Story"
}
],
"title": "About Us"
}
],
"unique_id": "ai2_unique_F405Pjih23f88mALR9DxPb1TQ0bld6g8M3uJ_JCH",
"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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.