Create new site

Endpoint that can be used to create a new site.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

New site parameters

string
required

WordPress Site Title

integer

ID of the location. Use the List Site locations API to get the location ID.

integer

If you have dedicated locations, you can use these by ID to add sites at those dedicated locations. (When passed, do not pass location). Use the List Site locations API to get the restricted location ID.

string

WordPress admin username

string

WordPress admin password

string

WordPress admin email

boolean
uuid

An optional Site Template ID to use when creating the site

string

A comma separated list of plugin slugs to install

string

If the site should be installed outside of public_html, which folder (this is rare)

string | null

A label which can be used to identify the site separately from the site's domain

integer
enum

Type of site. 0 == WordPress, 1 == static site

Allowed:
boolean

DEPRECATED: Use site_type instead. When true, a "static" site will be created without any WordPress install

metadata
object
string

PHP version to be used

template_replacements
array of objects

If this site is being created from a template, pass keys and values here and they will be replaced in the site's database

template_replacements
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json