KuikCodeDocs
APIReferenceSites

List hosted sites

GET
/sites

Every hosted site in the workspace, newest first, with its live address.

AuthorizationBearer <token>

An API key from Settings, Developers: Authorization: Bearer kc_live_...

In: header

Response Body

application/json

curl -X GET "https://example.com/sites"
{  "data": [    {      "id": "string",      "name": "string",      "subdomain": "string",      "url": "string",      "version": 0,      "fileCount": 0,      "totalSize": 0,      "previewUrl": "string",      "usedBy": 0,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}