# Auto generate password for account created through API?

**URL:** <https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540>\
**Category:** Development\
**Created:** [14.Октябрь.2016 10:07:57 UTC](https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540 "2016-10-14T10:07:57Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![foloex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/foloex/32/63141_2.png) [@foloex](https://meta.discourse.org/u/foloex)\
**Post date:** [14.Октябрь.2016 15:15:04 UTC](https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540/10 "2016-10-14T15:15:04Z")

</div>

Ok, with a “email” field in the params it doesn’t do the gateway error. I manage to create an invite that way.

I’ll try to create a user with a random password and trigger the password reset action to see if I can achieve my goal this way 🙄

---

_[View the full topic](https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540)._
