Skip to main content
POST
Put a portal live

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

portal_id
string<uuid>
required

The portal's id, as GET /v1/portals (or the portal_list MCP tool) returns it

Body

application/json
commit_id
string | null

The deployed version to go live with. Left out: the live one, else the newest deployed one

Pattern: ^[0-9a-f]{40}$
label
string | null

Also serve it at this subdomain (.<Statisfy's portal domain>). Left out: the answer is the portal's permanent address. Every address of the portal serves the live version

Required string length: 1 - 63

Response

200 - application/json

Successful Response

hostname
string
required

The full hostname, such as help.acme.com or acme-x1y2.statisfy.app

is_primary
boolean
required

The address the portal's links use

is_system
boolean
required

The portal's permanent address: it can't be removed

kind
enum<string>
required

A Statisfy subdomain, or your own domain

Available options:
subdomain,
custom
live
boolean
required

The live portal is served here

status
string
required

active, pending_verification, provisioning_certificate, failed or disabled (custom domains go through the middle two)

url
string
required

https:///