List sites
Returns all sites belonging to the authenticated user. If the API key is restricted to specific sites, only those are returned.
GET
/v1/sites
Requires scope: sites:read
Example request
curl https://api.cache-boost.com/v1/sites \
-H "Authorization: Bearer cb_live_YOUR_KEY"
Response
Returns 200 OK with an array of site objects.
[
{
"id": 42,
"domain": "www.example.com",
"validated": true,
"created_at": "2025-01-15T10:30:00Z"
}
]
Errors
| Code | Description |
|---|---|
401 | Missing or invalid API key. |
403 | Insufficient scope. |