# Creating user via API

**URL:** <https://meta.discourse.org/t/creating-user-via-api/36133>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [29 نوفمبر 2015، 8:18م UTC](https://meta.discourse.org/t/creating-user-via-api/36133 "2015-11-29T20:18:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nadermx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nadermx/32/67585_2.png) [@nadermx](https://meta.discourse.org/u/nadermx)\
**Post date:** [29 نوفمبر 2015، 8:18م UTC](https://meta.discourse.org/t/creating-user-via-api/36133/1 "2015-11-29T20:18:49Z")

</div>

Right now on my discourse set up, I have it set up to invite only, admin must approve users, and allow new registrations.

The issue I am having though is when I create a user via my API I still have to log in and approve the user on the forum.

So I was wondering if I had to uncheck any of those three to be able to make the user and they are auto created but I don’t have to log in to the discourse to approve them.

I don’t want other users to be able to invite other users to join though as I am creating users based on another sites sign ups.

---

_[View the full topic](https://meta.discourse.org/t/creating-user-via-api/36133)._
