Create App
POST /apps
PREVIEW. This endpoint is deployed but gated: it returns 404 unless the hosted app platform is enabled for your organization. It is published here so the contract describes the whole surface, not so it can be called today.
Create an app. It starts in draft and serves no traffic until published.
The slug is unique within your organization, not globally — two builders may
both ship a crm. A collision returns 409 naming slug.
Authorizations
Parameters
Header Parameters
Request Body required
Mirrors CreateAppInput.
object
Https-only origins a browser app token may be presented from. An http origin is rejected — a bearer token sent over http is a token disclosed to the network.
Stable identifier, unique within your organization. Lowercased on write, so CRM and crm are the same app.
Responses
201
Successful Response
object
One builder-owned app. Mirrors AppDto.
object
Https-only origins a browser app token may be presented from.
Lifecycle state: draft, published, suspended or archived. active is accepted on write as a legacy spelling of published.
422
Validation Error