Section Based AI
Create a website with AI-generated content
Creates a new website and automatically generates AI-powered content for it in a single operation. This endpoint combines website creation with AI site generation, providing a streamlined workflow for creating fully functional websites with AI-generated content.
On completion, emits website_generation_completed with generation_flow: create_website (or create_website_dedicated_vm for dedicated-VM accounts).
post/v1/hosting/ai-website
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
{
"subdomain": "my-agency-site",
"region": "us-central1-c",
"site_title": "My Agency Website",
"admin_username": "admin",
"admin_password": "MySecurePass123",
"trial_website_delete_after_days": 3,
"business_type": "agency",
"business_name": "Digital Solutions Agency",
"business_description": "We provide comprehensive digital marketing solutions and web development services"
}Response
Website created and AI content generated successfully
Example response
{
"website_id": 21113,
"website_url": "https://my-agency-site.10web.club"
}Changes
No recorded changes to this operation across all 1 revision of this API.