Per-deploy preview URL
Give one specific build its own stable, publicly reachable URL without making it the live version. POST enables the preview, DELETE disables it. The preview serves that exact deploy (its immutable bundle) at <deploy-uuid>.<your-plan-domain> — independent of which deploy is currently activated — so you can share a build for review before promoting it with activate.
Preview URLs are a static / fullstack-frontend feature. The build must have reached ready. The URL stays valid until you disable the preview or the deploy's artifacts are pruned by retention.
Response (200 OK)
true after POST, false after DELETE.Errors
Enable branch auto-previews
Opt a git-connected app into automatic branch previews. With it on, a push to any branch other than the deploy branch builds a preview deploy instead of touching production — the preview never becomes the live version. It's off by default. This applies to static and fullstack-frontend apps (a fullstack preview builds only the static frontend; API paths still hit the app's live backend).
Request body
true to auto-build a preview on every non-deploy-branch push; false to turn it off.Response (200 OK)
Errors
max_preview_deploys). Previews expire on a TTL and are cleaned up automatically. Read the current setting from the webhook info endpoint (auto_preview).
List branch previews
List the app's live branch previews — the latest preview per branch. Each entry carries both a stable branch-alias URL (always points at that branch's newest preview) and the immutable per-deploy URL (that exact build), plus branch, status and expiry. The per-plan cap is returned so a UI can show “3 / 5 previews”.
Response (200 OK)
ready, building, …).