sites

Create Site

Create a new site in your account.

post/sites

Request

Request body

namestring
php_versionunknown
stagingboolean
sandboxboolean
duplikitboolean
installstring
multisite_supportboolean
datacenter_codestring
wp_admin_usernamestring
wp_admin_emailstring

Response

Successful Response

messagestring
dataobject

Example response

{
  "message": "Success",
  "data": {
    "id": 1314,
    "created": "2022-02-17T20:50:05.000Z",
    "accountId": 2,
    "clonedFromId": null,
    "collaboratorsCount": 0,
    "datacenterCode": "DCA",
    "datacenterName": "Washington, DC, USA",
    "displayName": "your-site-name",
    "domainsCount": 0,
    "ecommerce": false,
    "edgeCache": "disabled",
    "edgeCacheDefensiveMode": false,
    "edgeCacheDefensiveModeUntil": null,
    "favorite": false,
    "ipAddress": "199.16.172.70",
    "ipAddressOne": "199.16.172.70",
    "ipAddressTwo": "199.16.173.246",
    "name": "your-site-name",
    "state": "deploying",
    "url": "your-site-name.mystagingwebsite.com",
    "staging": true,
    "sandbox": false,
    "duplikit": false,
    "sftpDomain": "sftp.pressable.com",
    "phpVersion": null,
    "wordpressVersion": "Current Stable Release (6.2)",
    "tags": [],
    "wpEnvironmentType": "production",
    "lightWeight404": false,
    "multisiteSupport": true
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.