Get a website with its environments
Answers one website with every environment: a website of your own company, or one with a CoreStack site you can open that belongs to another company, such as a client's site your company manages as its agency. Any other website answers 404. Answered with Cache-Control: no-store.
Path parameters
The id of a website of any product, from the websites list. Not the same number as a site row id. Digits only. At least 1.
Returns
200 The website.
Fields of the 200 answer
How many things on the website need attention.
The product the website runs on.
Fields
enterprisecorestackcoreclustermixedThe cluster the website is in. Null for a website that is in none.
Fields
At least 1.
Fields of each item
Where the environment is listed, such as production or staging.
corestack for a row /corestack/sites/{site} takes, enterprise for a CoreStack Enterprise environment.
corestackenterpriseWhere the environment opens in the Control Panel.
The environment's id. Not a site row id. At least 1.
How many changes wait for the maintenance window.
The site row id to use in /corestack/sites/{site}. Null for a CoreStack Enterprise environment. At least 1.
Such as ready, provisioning or unknown.
The staging size of a CoreStack site's environment. Left out for a production row.
Fields
Where the website opens in the Control Panel.
At least 1.
The platform of the website's production environment. Null when it has none.
The region the website is in, when known.
Fields
0 inactive, 1 pending setup, 2 onboarding, 3 active.
0123Format: date-time.
If it is refused
| Status | Reason | What to do |
|---|---|---|
401 | none | Send a valid token as Authorization: Bearer <token>. |
403 | company_unavailable | Your company is unavailable. |
403 | scope_required | Use a token with the scope named in scope. |
403 | two_factor_required | Turn on two-factor on your account, then send again. |
404 | feature_off | This feature is not on for your organisation yet. |
429 | rate_limited | Wait for the seconds in Retry-After. |
Reasons are listed by name in Errors and refusals.
The same task elsewhere
curl https://manage.corefinity.com/api/corestack/websites/1302 \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json"use Illuminate\Support\Facades\Http;
$response = Http::withToken(env('COREFINITY_TOKEN'))
->acceptJson()
->get('https://manage.corefinity.com/api/corestack/websites/1302');
$data = $response->json();const res = await fetch('https://manage.corefinity.com/api/corestack/websites/1302', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
Accept: 'application/json',
},
});
// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);import os
import requests
res = requests.get(
"https://manage.corefinity.com/api/corestack/websites/1302",
headers={
"Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
"Accept": "application/json",
},
)
data = res.json() if res.content else None{
"attention": 2,
"badge": {
"kind": "corecluster",
"label": "CoreCluster"
},
"cluster": {
"href": "https://manage.corefinity.com/managed-clusters/clusters/17",
"id": 1017,
"kind": "customer",
"label": "Northwind UK 1"
},
"company": {
"id": 1204,
"name": "Harbour & Finch"
},
"environment_count": 2,
"environments": [
{
"group": "production",
"hosting_kind": "corestack",
"href": "https://manage.corefinity.com/managed-clusters/sites/1042",
"id": 3110,
"label": "Production",
"name": "Production",
"pending_changes": 0,
"reseller_site_id": 1042,
"role": "production",
"state": "ready"
},
{
"group": "staging",
"hosting_kind": "corestack",
"href": "https://manage.corefinity.com/managed-clusters/sites/1043",
"id": 3111,
"label": "Staging",
"name": "Staging",
"pending_changes": 0,
"reseller_site_id": 1043,
"role": "staging",
"state": "ready",
"uat_size": null
}
],
"hrefs": {
"open": "https://manage.corefinity.com/managed-clusters/sites/1042"
},
"id": 1302,
"name": "harbourandfinch.example.com",
"pending_changes": 0,
"platform": {
"key": "wordpress",
"label": "WordPress"
},
"region": null,
"status": {
"key": 3,
"label": "Active"
},
"updated_at": "2026-11-10T00:59:44Z",
"url": "https://harbourandfinch-example-com.northwind.cfstack.example.net"
}{
"message": "Unauthenticated."
}{
"code": "company_unavailable",
"message": "Your company is unavailable.",
"reason": "company_unavailable"
}{
"code": "feature_off",
"message": "Not found.",
"reason": "feature_off"
}{
"code": "rate_limited",
"message": "Too many requests. Try again in 60 seconds.",
"reason": "rate_limited",
"retry_after_seconds": 60
}