GET/sites
List all sites belonging to the team. Returns sites in creation order. Requires the sites:read scope.
Response
Returns data.sites — an array of site objects — and data.count. Each site includes id, name, slug, teamId, isDeleted, deletedAt, createdAt, updatedAt, and url (https://{slug}.zxapi.net).
Example response
{
"data": {
"sites": [
{
"id": "abc123",
"name": "My Site",
"slug": "my-site",
"teamId": "team_xyz",
"isDeleted": false,
"deletedAt": null,
"createdAt": "2026-03-25T10:00:00Z",
"updatedAt": "2026-03-25T10:00:00Z",
"url": "https://my-site.zxapi.net"
}
],
"count": 1
}
}Code examples
cURL
curl "https://www.zyberspace.com/api/v1/{teamSlug}/sites" \
-H "Authorization: Bearer zxk_live_YOUR_API_KEY"JavaScript
const res = await fetch(`https://www.zyberspace.com/api/v1/{teamSlug}/sites`, {
headers: { Authorization: "Bearer zxk_live_YOUR_API_KEY" },
});
const data = await res.json();
console.log(data);Base URL: https://www.zyberspace.com