Create a user
learnworlds_create_userWRITE: create a learner account. Deliberately no password or admin flag — set send_registration_email so the learner sets their own password. LearnWorlds: POST /v2/users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to attach to the new user. | |
| Yes | The user's email. | ||
| fields | No | Sign-up fields to set, e.g. {"company": "Acme", "phone": "+1..."}. Built-in keys include bio, location, url, phone, address, country, birthday, company, company_size, university, graduation_year and social links; custom fields use their cf_ key (e.g. cf_skill). | |
| username | Yes | The user's username (display name). | |
| send_registration_email | No | Send LearnWorlds' registration email to the user. | |
| signup_validation_rules | No | Apply the school's sign-up validation rules (default false). | |
| subscribed_for_marketing_emails | No | Marketing-email consent. |