Account continuation API
These tRPC procedures use the signed-in human's existing browser session. They are available without an active Organization or paid membership. They do not accept a User identifier, work through MCP or allow impersonation. The account must remain open and have a verified email. Signing out or revoking the session prevents later calls, including calls that retain an old signed session-data cookie.
Inspect the continuation
Call accountContinuation.state without input. It returns canCreate,
workspace and reason:
| Reason | Meaning |
|---|---|
new | No real membership or pending invitation; creation is available. |
continued | Resume the Organization already created for this account. |
membership | Use an existing Organization; an active owner's selected Organization can be returned for plan selection. |
invitation | Accept the pending Organization invitation first. |
unavailable | The continued Organization is unavailable or no longer owned by the caller; creation is refused. |
A returned workspace contains its id, name and currency. This metadata
does not grant content or billing authority. Session selection and checkout
independently verify current membership and ownership.
Continue the account
Call accountContinuation.continueAccount with { name, timeZone? }. The name
must contain 1–80 characters after trimming. An optional valid IANA time zone
initializes the Organization's planning preference; an unknown zone is ignored.
Unknown input fields, including ownership selectors, are refused.
The response contains id, name, currency and memberId. Concurrent calls
and retries return the same created Organization. Retrying with another name
does not rename it. Existing real memberships or pending invitations cause a
conflict instead of creating a redundant Organization.
Select the returned Organization through the existing authenticated
organization.setActive operation, then use the standard Organization checkout.
Creation itself creates no subscription, does not copy Personal data and does
not grant paid access. The provisioning receipt remains after Personal expiry;
losing the continued Organization does not authorize a replacement or new trial.
If Organization selection fails after creation, retry selection or reload the continuation state. If checkout synchronization is uncertain, inspect Billing before starting another checkout. See the screen walkthrough for the full journey.
Create a separate peer Organization
An existing User can explicitly create another Organization through
organizations.create with { name, timeZone? }. This is a separate action from
one-time account continuation. It requires the User's current verified human
browser Session; Agent, OAuth, workflow and impersonated contexts cannot create
one. The creator becomes owner. The response contains id, name and type.
Creation uses the configured billing currency and records the new Membership. Select the returned Organization with the normal Organization selection flow, then choose its plan in Billing. Creation grants no Product subscription or trial. Each deliberate creation call creates a separate Organization; after a lost response, refresh the Organization list before trying again. An expired Session requires signing in again. Ownership and billing cannot be selected in the input.