Organiser workspaces

Create the first organiser workspace for a verified account.

Create a workspace

POST /api/partner/workspaces accepts a trimmed workspace name between 2 and 160 characters:

{ "name": "Northstar Events" }

The request requires a signed-in Better Auth account with a verified email. It does not require an existing organiser membership. The API creates an organisation and makes the account its owner. The response uses the shared partner action outcome:

{
  "state": { "ok": true },
  "redirectTo": "/studio",
  "cookies": [
    { "name": "studio_org", "value": "organisation-uuid", "maxAge": 31536000 }
  ]
}

The studio_org cookie selects the new workspace for Studio navigation; it is not an authority grant. The API checks the live owner membership on every protected operation. Repeated or concurrent submissions resume the account's first live owned workspace instead of creating duplicates. This flow does not create an organiser marketplace profile and does not grant platform-admin privileges.

Mutations require the exact configured Origin and the session cookie. Invalid names return 400; an unauthenticated or unverified account is rejected. The machine-readable request and response schemas at GET /api/openapi are authoritative.

On this page