APIReferenceSites
List hosted sites
Every hosted site in the workspace, newest first, with its live address.
Authorization
apiKey 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" } ]}Get a KuikPage GET
One KuikPage with its status, live address and preview image.
Publish a hosted site POST
Deploys a ZIP to https://{subdomain}.kuik.page/. The ZIP needs an index.html at its root (a single top folder is flattened). Static files only: HTML, CSS, JS, JSON, images, fonts, audio, video and PDF; anything else, such as .php, is skipped and listed in `skipped`. Up to 300 files, 5 MB per file and 15 MB in total. Counts against the plan's hosted site slots.