Skip to main content
POST
Create a WordPress site environment

Authorizations

Authorization
string
header
required

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

Path Parameters

site_id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Body

application/json
display_name
string
required
Example:

"development"

site_title
string
required
Example:

"My First Site - development"

is_premium
boolean
required
Example:

false

admin_email
string
required
admin_password
string
required
Example:

"vJnFnN-~v)PxF[6k"

admin_user
string
required
Example:

"admin"

wp_language
string
required
Example:

"en_US"

is_subdomain_multisite
boolean
Example:

false

is_multisite
boolean
Example:

false

woocommerce
boolean
Example:

false

wordpress_plugin_edd
boolean
Example:

false

wordpressseo
boolean
Example:

false

Response

Environment creation action started. Check MyKinsta for status

message
string
required
Example:

"Adding environment in progress"

status
number
required
Example:

202

operation_id
string
Example:

"environment:add-54fb80af-576c-4fdc-ba4f-b596c83f15a1"