curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/sites' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"sites": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform": "string",
"domain": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
]
}
List sites
List sites
GET
/
api
/
admin
/
sites
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/sites' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"sites": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform": "string",
"domain": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
]
}
Response
SiteList
Status codes
| Code | Meaning |
|---|---|
200 | OK |
401 | Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.example.com/api/admin/sites' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"sites": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"platform": "string",
"domain": "string",
"createdAt": "2026-08-31T14:22:05Z"
}
]
}
Last modified on November 13, 2026