Any new user that is created without an API token is automatically assigned to a new organization. Users can be created by anyone (even without a login token) in order to bootstrap the process to create a new organization from scratch. An organization owner can use an API token to add a new user directly to the organization. This is the only way to add users to your organization, you can't associate users to organizations after their creation.
npm install @luzmo/nodejs-sdk{
"id": "123e4567-e89b-12d3-a456-426614174000",
"email": "john.doe@example.com",
"name": "John Doe",
"city": "BigCity",
"phone": "+1234567890",
"theme": "light",
"warp_notifications": false,
"show_formula_tutorial": true,
"show_dashboard_templates": true,
"onboarding_menu_visible": true,
"onboarding_editor_active": true,
"onboarding_editor_progress": 50,
"collection_order": [
"item1",
"item2",
"item3"
],
"company": {
"en": "Company Name"
},
"role": "member",
"suborganization": "SubOrgName",
"plan": "basic",
"cycle": "monthly",
"currency": "USD",
"campaign": "campaign_name",
"timezone_id": "Europe/Brussels",
"feature_overrides": [
"!flag_alerting",
"flag_opendataboard"
],
"onboarding_integration_progress": "complete",
"onboarding_embedded_editor_progress": 25
}