Skip to main content
POST
Publish a deployment
Publishes the app’s latest successful build.
  • External apps deploy to https://<subdomain>.zite.so (or a custom domain).
  • Internal apps become available to your organization; customSubdomain is null.
Publishing requires a successful build. If the latest build is still building or failed, the call returns a 400 explaining why — poll GET /apps/{appId} until buildStatus is success, or fix errors with check / logs and commit again.

Authorizations

Authorization
string
header
required

Enter your Zite API key. Format: Bearer <api_key>

Path Parameters

appId
string
required

The app ID.

Response

The live deployment

published
boolean
Example:

true

snapshotId
integer

The build snapshot that is now live.

accessMode
enum<string>
default:internal

internal apps are available to your organization; external apps deploy to a public subdomain.

Available options:
internal,
external
customSubdomain
string | null

For external apps, the <subdomain>.zite.so host serving the app.

Example:

"agent-console"

publicIdentifier
string
Example:

"app_a1b2c3"

workspaceId
string | null
Example:

"wsp8bce4d1edc51710"