This example demonstrates how to create a sub organization using just an end-user’s email: passkeys not required! Note that this flow does not require emails to be verified.
Initialize Turnkey
Configure the Sub Organization for the User
Call createSubOrganization from your backend
subOrganization
is created.