Skip to content
LogoLogo

Create a Free Workspace with a native account

Create a Free Workspace with a native account

POST/api/v1/mobile/workspaces

Requires a first-party native bearer; browser cookies are not accepted. Creation does not select a Workspace or issue browser cookies. Claims and creates the signed-in human account's one active Free Workspace, provisioning the Workspace, owner membership, Actor, default workflow, claim, and events in one transaction. Membership and role in the selected Workspace do not grant or deny this account-level command.

The optional slug selects the canonical URL segment. When omitted, Core generates a collision-safe value from the name.

Creation does not switch the calling session onto the new Workspace. Changing scope is PUT /api/v1/auth/session/workspace, which always rotates the session and CSRF secrets; doing it as a side effect here would rotate them invisibly.

Header Parameters

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Request Body

application/json
nameRequired
string·min 1·max 100

Trimmed before validation.

slug
string·min 1·max 63

Optional unique canonical Workspace URL segment.

Responses