Skip to content
WP Engine |Hosting Platform API

Get a site by ID

GET
/sites/{site_id}

Returns a single site

site_id
required
string format: uuid

The site ID

Success

object
id
required
string format: uuid
Example
28c78b6d-c2da-4f09-85f5-1ad588089b2d
name
required
string
Example
Torque Magazine
account
required
object
id

The account ID

string format: uuid
Example
eeda3227-9a39-46ae-9e14-20958bb4e6c9
group_name
string
Example
Overdue
tags
Array<string>
Example
[
"tag1",
"tag2",
"tag3"
]
created_at

The date and time the site was created in UTC

string format: date-time
Example
2025-07-10T09:59:58.684Z
sandbox

Whether the site is a sandbox site

boolean
transferable

Whether the site is transferable

boolean
installs
Array
object
id
string format: uuid
Example
294deacc-d8b8-4005-82c4-0727ba8ddde0
name
string
Example
torquemag
environment
string
Allowed values: production staging development
cname

Returns the CNAME of the install

string
Example
mywebsite.wpengine.com
php_version

The PHP version used to run WordPress

string
Example
7.3
is_multisite
boolean

Authentication Error

object
message
required

A message regarding the error that occurred on the server

string
Example
Bad Credentials
documentation_url

(Optional) A URL where documentation regarding this specific error can be found

string

Not authorized

object
message
required

A message regarding the error that occurred on the server

string
Example
You don't have permission to perform that action
documentation_url

(Optional) A URL where documentation regarding this specific error can be found

string

Not found

object
message
required

A message regarding the error that occurred on the server

string
Example
Not Found
documentation_url

(Optional) A URL where documentation regarding this specific error can be found

string

Too many requests

Service unavailable