Create Site
Creates a new site in a workspace.
Authorizations
API key authentication. Accepts either:
- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)
- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)
Body
The ID of the workspace that contains this site.
The site name.
"Hearth Furniture Company"
The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing.
"https://hearthfurniture.com"
The primary locale of this site.
"en"
"es"
"fr-FR"
"ar-EG"
"ja-JP"
Response
The type of the object
site "site"
The site name.
"Hearth Furniture Company"
The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing.
"https://hearthfurniture.com"
The publishable API key that a host can use to get page and component data for rendering your site.
The primary locale of this site.
"en"
"es"
"fr-FR"
"ar-EG"
"ja-JP"