Skip to main content
POST
Create a site

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
workspace_id
string
required

Workspace holding the source files.

slug
string
required

Subdomain the site is served on.

display_name
string

Name shown in the product.

source_path
string

Folder to build from. Defaults to the workspace root.

framework
string

Build preset to use. Detected when omitted.

access
string

Who can reach the site.

Response

Successful response

The response is of type object.