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

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [September 14, 2023, 11:39pm UTC](https://meta.discourse.org/t/create-staged-users-via-api/279052/6 "2023-09-14T23:39:08Z")

</div>

I’ve been wanting to use discourse as a generic form processor to handle contact forms. I hate contact forms, but some users would rather use a contact form them than send an email. Even if I think those people make bad decisions, I’d like to make it easier for them to contact me so they can give me money.

It would be really handy to be able to create a message that creates a staged user without having to resort to some other system to process the form and send an email.

I assume I’ll need to create a plugin to do this, but that’s my plan.

This is one of the only things I have left to figure out to get rid of wordpress.

> [@simon](#):
>
> You’ll get an invalid access error if you attempt to create a non-email post for a staged user via the API.

So maybe what I’ll do in the plugin is create the post as if it were an email. That might not be too hard on a plugin. And that would likely make it possible via am api.

---

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