Creating a site matches “new site” in the dashboard. Optional fields mirror site-wide settings in the editor.
Optional; random site-xxxxxxxx if omitted
Defaults from template or "Untitled site"
Default meta description (editor “Site settings”)
Default Open Graph / social share image URL
Tab icon URL (often from media upload)
Trusted snippets for head (sanitized like the editor)
Built-in template id from GET /api/v1/templates (e.g. aiSaas, financialAdvisor, lawFirm, medicalAesthetic, realEstate, executiveCoach, agency, boutiqueHotel, weddingVenue, interiorDesign, dtcProduct, onlineCourse, fineDining, luxuryPortfolio, comingSoon).
If true, home page has no blocks (empty canvas) instead of a template
Full multi-page site for programmatic or BYO-LLM builds; if set, templateId is ignored. Does not call SlateHut models (no AI credits). Validate first with POST /api/v1/sites/validate. Include dynamic with collectionId + templateBlocks for CMS detail URLs.
Global fonts, corner radius, section spacing, and palette. Sending a subset on PUT /api/v1/sites/{subdomain} merges with the current theme (same as the editor).
Created
No recorded changes to this operation across all 1 revision of this API.