KuikCodeDocs
APIReferencePages

Publish a KuikPage

POST
/pages/{id}/publish

Puts the current draft live at its address, exactly as the editor's Publish button does. Codes pointing at the page show the new version right away.

AuthorizationBearer <token>

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

In: header

Path Parameters

id*string
Length1 <= length

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/pages/string/publish"
{  "url": "string",  "version": 0}