agency-hosting_provisionANewAgencyPlanWebsiteV1
Provisions a new website on your Agency Plan hosting. Choose datacenter, stack, PHP version, and optionally attach a domain or install WordPress.
Instructions
Provisions a new website on one of your Agency Plan hosting orders.
Choose the datacenter, stack (flavor), and PHP version for the site. Optionally attach
your own domain — omit it, set it to null, or leave it unavailable and a free
*.hostingersite.com subdomain is generated instead — and/or install WordPress by
supplying the wordpress details (admin account, site title, and language).
Common setups:
Plain PHP site:
flavorset tophp-fpm, withsettings.php.version; omitwordpressandtype.WordPress site:
flavorset to the desired WordPress version (e.g.wp-7.0), plus thewordpressblock (admin account, title, language).Static/Node.js frontend app:
flavorset tophp-fpmandtypeset tonode-static.
Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Website type | |
| clone | No | Clone the new website from an existing website | |
| domain | No | Primary domain to attach to the website. Omit or set to null to get a free auto-generated *.hostingersite.com subdomain instead. | |
| flavor | Yes | Setup flavor: a specific WordPress version in the format `wp-<major>.<minor>` or `wp-<major>.<minor>.<patch>` (e.g. `wp-6.8.2`), or `php-fpm` for a plain PHP stack. Generic versions like `wp-latest` are not allowed. | |
| order_id | Yes | Agency Plan order ID | |
| settings | Yes | Website settings | |
| wordpress | No | WordPress installation options | |
| derive_domain | No | Derive the domain from an existing vhost | |
| datacenter_code | Yes | Datacenter code where the website should be provisioned. Available codes depend on live capacity and are not a fixed set. |