Skip to navigation

Create a new WordPress instance

Creates a new WordPress hosting instance for the authenticated account. To preview pricing without creating anything, use POST /wordpress/cost-estimate.

Authentication

X-API-Client-IDstring
API Client ID
X-API-Client-Secretstring
API Client Secret

Request

This endpoint expects an object.
packageLabelstringRequired
Package label to use for the WordPress instance
domainstring or nullOptional
Optional custom domain for the WordPress site

Response

WordPress instance created successfully
successboolean
Whether the operation succeeded.
messagestringOptional

Human-readable result message.

idstringOptional
Identifier of the WordPress instance that was created. Use it to poll the instance while it is being set up.
statusenumOptional

State of the new instance. Creation is asynchronous, so a successful request returns provisioning and the site becomes active once it is ready.

Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error