# Create staged users via API?

**URL:** https://meta.discourse.org/t/create-staged-users-via-api/279052
**Category:** Development
**Tags:** rest-api
**Created:** [September 14, 2023, 7:23pm UTC](https://meta.discourse.org/t/create-staged-users-via-api/279052 "2023-09-14T19:23:28Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [September 14, 2023, 8:22pm UTC](https://meta.discourse.org/t/create-staged-users-via-api/279052/3 "2023-09-14T20:22:46Z")

</div>

Well, kind of. As the OP in that topic says, in reply to that…

> [@Creating a staged user with an API call](https://meta.discourse.org/t/creating-a-staged-user-with-an-api-call/84667/3):
>
> I’m trying to avoid creating a full-fledged user account and picking a username. Essentially I want to replicate whatever is happening in the email trigger (‘custom incoming email address’ in the group settings) where the sender’s email address will be ‘staged,’ such that if/when they do register, they’ll be able to claim any messages that were created on their behalf via the email trigger.

… and there, the answer is to basically inject an email and let the email handling code take care of it. But, that doesn’t work for this case, because I need to intervene and turn off email notifications for the user _before_ creating the post.

It happens that we have SSO-overrides-username turned on for _one_ side of the proposed bridge, so I think just creating something like ‘othersite-user’ could be a workaround… but that won’t necessarily work without that SSO setting.

---

_[View the full topic](https://meta.discourse.org/t/create-staged-users-via-api/279052)._
