# 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:** 3

<div class="post-metadata">

**Author:** ![dachary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dachary/32/119731_2.png) [@dachary](https://meta.discourse.org/u/dachary)\
**Post date:** [2 november 2020 om 23:01 UTC](https://meta.discourse.org/t/how-can-i-create-a-staged-user-via-the-api/168923/3 "2020-11-02T23:01:59Z")

</div>

> [@simon](#):
>
> 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.

Good idea 🙂 I did that and it did not trigger an error (good) but the user created, although active, is not staged (not so good).

> [@simon](#):
>
> I’m not sure why you would need to create a staged user via the API.

This is for importing users from a mailing list and converting them into forum users watching a category. The user can claim the account later and be notified when messages are posted on the categories matching the mailing lists they were subscribed to before migrating to the forum.

When importing the archives of a mailing list, all users who posted on the mailing list are created as staged users. But the users who never posted and who were only interested in reading the mailing are not created, they need to be created independently.

---

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