@ks_1, I’ve just discovered that there is in fact a way to create users if you are maintaining your own instance:
Instructions from @jnm:
- Go to https://kf.your.host/admin/kpi/authorizedapplication/add/ and add a new entry. The name doesn’t matter: it’s just for your own record keeping. The key is used in the next step.
- Once that’s done, you can
POST
to https://kf.your.host/authorized_application/users/ using the headerAuthorization: Token key_you_added
and send the following fields:
username
password
first_name
last_name
email
- The user should be created in KoBo immediately, without email confirmation. See here for the code that supports this. The complete PR that added this is User creation and authentication for external apps by jnm · Pull Request #368 · kobotoolbox/kpi · GitHub