# Creating a staged user with an API call

**URL:** <https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [April 5, 2018, 7:19pm UTC](https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667 "2018-04-05T19:19:10Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dm.linov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dm.linov/32/167719_2.png) [@dm.linov](https://meta.discourse.org/u/dm.linov)\
**Post date:** [February 23, 2020, 7:24pm UTC](https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667/6 "2020-02-23T19:24:57Z")

</div>

Could you specify, what headers and fields should be in the API call to `/admin/email/handle_email` that creates a staged user and a topic on his behalf?

Also, did I get it right, that such a user will receive notifications for new posts in such a topic and will be able to reply to it via email?

And what happens, if I try to create a staged user and a topic via an API call with an email address that belongs to an active user? Will this topic be created on behalf of such user?

---

_[View the full topic](https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667)._
