Create new site

Endpoint that can be used to create a new site.

Body Params

New site parameters

string
required

WordPress Site Title

integer

Which Rocket.net Point of Presence to create the site at. 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 user

string

WordPress admin password

string

WordPress admin email

boolean
Defaults to false
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

Label for the site (can be used to look up sites)

boolean

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
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json