# Hoe kan ik een staged user aanmaken via de API?

**URL:** <https://meta.discourse.org/t/how-can-i-create-a-staged-user-via-the-api/168923>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [1 november 2020 om 16:33 UTC](https://meta.discourse.org/t/how-can-i-create-a-staged-user-via-the-api/168923 "2020-11-01T16:33:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2 november 2020 om 21:31 UTC](https://meta.discourse.org/t/how-can-i-create-a-staged-user-via-the-api/168923/2 "2020-11-02T21:31:39Z")

</div>

I _think_ that all you need to do is set the parameter `staged` to `true` when you create the user. Be sure to not set the `active` parameter to `true` when you create the user.

When the `enable staged users` site setting is checked, staged users are automatically created when Discourse receives an email from a user who does not have an existing account of the forum. I’m not sure why you would need to create a staged user via the API.

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-create-a-staged-user-via-the-api/168923)._
