POST
/
landing-pages
/
{id}
/
publish
Publish Page
curl --request POST \
  --url https://connextify.com/api/v1/landing-pages/{id}/publish \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page_json": {},
  "page_html": "<string>",
  "page_css": "<string>"
}
'
{
  "success": true,
  "data": {
    "page": {
      "id": "<string>",
      "status": "<string>",
      "public_url": "<string>",
      "published_at": "<string>"
    }
  }
}
Compiles page content, generates minified HTML and CSS, and provisions the public routing rules across edge DNS and Redis. Once published, the page is instantly reachable at its public domain URL.

Path Parameters

id
string
required
UUID of the page to publish.

Request Body

page_json
object
Optional updated page JSON schema to compile and publish immediately.
page_html
string
Optional custom pre-rendered HTML (overrides automated block compiler).
page_css
string
Optional custom stylesheet CSS.

Response

success
boolean
Whether publishing succeeded.
data
object

Request Examples

curl -X POST https://connextify.com/api/v1/landing-pages/8fa95874-8b63-41c3-881c-cb89d9f5844a/publish \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"