Create your own workspace/tenant (self-serve)
Requires a valid API key — does NOT require an active workspace (X-Workspace-Id does not apply here: it is ignored if sent). The caller becomes ADMIN of the new workspace. If they already administer their own Organization (umbrella), another workspace is added there, subject to the plan quota (spark=1, star=3, icon=7); if they have no link at all, a new Organization is created on the free Spark plan. A user who is already a collaborator (staff) of someone else’s workspace gets 409 ALREADY_HAS_ACCESS: ask an administrator to add them, instead of creating a tenant that would override their current access.
/workspacesAuthorizationAPI key · headerrequiredAPI key prefixed with Bearer . Alternative: the x-api-key header with the raw key. Available scopes: read and write (see /.well-known/oauth-protected-resource).
x-api-keyAPI key · headerrequiredRaw API key (without Bearer ), alternative to Authorization.
X-Workspace-IdstringActive workspace to operate on. Optional: when omitted, the default workspace of the user who owns the key is used (pickActiveOrg).
application/jsonnamestringrequiredslugstringrequiredOK
dataWorkspaceAccessrequiredShow propertiesHide properties
idstringrequirednamestringrequiredslugstringrequiredrolestringrequiredThe user's effective role IN THIS workspace.
SUPER_ADMINADMINSTAFFVIEWERMINCULTURAsectionsstring[] | nullrequiredEnabled sections (slugs). null = unrestricted; [] = access expired or revoked.
Show propertiesHide properties
stringstringnullMissing or invalid credential.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyInsufficient role or resource not accessible.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyResource does not exist or is out of scope.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyConflict: the resource does not allow this operation in its current state.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyOperation error.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsany
