Create organization
organizations.create(OrganizationCreateParams**kwargs) -> OrganizationCreateResponse
POST/v1/organizations
Onboards the authenticated user’s partner Organization: creates the local Organization + the creator’s admin membership atomically, then mirrors it to WorkOS (creates the WorkOS org and binds the creator as admin). 409 organization_already_exists when the user already has an organization (v0: one organization per user).
Create organization
from vitable_connect import VitableConnect
client = VitableConnect()
organization = client.organizations.create(
name="Acme Brokerage",
type="BROKERAGE",
)
print(organization.id){
"id": "org_abc123def456",
"name": "Acme Brokerage",
"type": "BROKERAGE",
"idp_org_id": "org_01J0WORKOS",
"idp_provider": "workos",
"super_in": false
}Returns Examples
{
"id": "org_abc123def456",
"name": "Acme Brokerage",
"type": "BROKERAGE",
"idp_org_id": "org_01J0WORKOS",
"idp_provider": "workos",
"super_in": false
}