Create organization
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
curl https://api.vitablehealth.com/v1/organizations \
-H 'Content-Type: application/json' \
-d '{
"name": "Acme Brokerage"
}'{
"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
}