Self Help Documentation
< All Topics

software/installwp

Description

Installs WordPress for an existing domain from a given SPanel user account.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed.
domainstringYesThe domain to install WordPress on. Must already exist in the account.
folderstringNoInstallation folder under the selected domain’s document root (for example: blog). Use empty value to install in the main folder.
usernamestringYesWordPress administrator username.
passwordstringYesWordPress administrator password.
emailstringYesWordPress administrator email address.
sitetypestringNoSite template type. Supported values: custom, store, business, blog. Defaults to custom if nothing is provided.
pluginsarrayNoOptional list of plugin slugs (only used when sitetype is custom). Supported values: woocommerce, jetpack, all-in-one-seo-pack, wpforms-lite, google-analytics-for-wordpress, optinmonster.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents