# 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 Ottobre 2016, 10:07am 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:** 2

<div class="post-metadata">

**Author:** ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)\
**Post date:** [14 Ottobre 2016, 10:32am UTC](https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540/2 "2016-10-14T10:32:27Z")

</div>

> [@foloex](#):
>
> when activating the user is asked for his password.

So you are going to send email to activate the user? If yes then it’s better to send invites instead of creating accounts via API. Because invitations will activate the user instantly when they accept it and the password reset email will be sent.

---

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