Features Pricing Regions Support Start free Log in FR

Get a site

Retrieve a single site by ID.

GET /v1/sites/{id}

Requires scope: sites:read

Path parameters

ParameterTypeRequiredDescription
id integer Required Site ID.

Example request

curl https://api.cache-boost.com/v1/sites/42 \
  -H "Authorization: Bearer cb_live_YOUR_KEY"

Response

Returns 200 OK with the site object.

{
  "id": 42,
  "domain": "www.example.com",
  "validated": true,
  "validation_token": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
  "created_at": "2025-01-15T10:30:00Z"
}

Errors

CodeDescription
401Missing or invalid API key.
403Insufficient scope or access denied.
404Site not found.