Skip to main content
POST
Publish a site

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Replo-Api-Version
enum<string>
required

The public API version to use for this request.

Available options:
2026-09-08

Path Parameters

siteId
string<uuid>
required

Body

application/json
promoteRoutes
string[]

Routes whose unpublished edits go live in this publish — pages and content entries alike, e.g. ["/", "/about", "/blog/my-post"] (a content entry's route is //). Omit to publish every page and entry with changes. Pass [] to publish only site-wide changes and leave every page and entry draft as it is.

Maximum array length: 200
Required string length: 1 - 500
Pattern: ^\/[^\s\x00-\x1f\x7f]*$

Response

Publish a site

sessionId
string<uuid>
required
dashboardUrl
string<uri>
required