# Creating user via API

**URL:** <https://meta.discourse.org/t/creating-user-via-api/36133>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [29.Ноябрь.2015 20:18:49 UTC](https://meta.discourse.org/t/creating-user-via-api/36133 "2015-11-29T20:18:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![vikas027](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vikas027/32/121352_2.png) [@vikas027](https://meta.discourse.org/u/vikas027)\
**Post date:** [22.Декабрь.2016 22:06:41 UTC](https://meta.discourse.org/t/creating-user-via-api/36133/6 "2016-12-22T22:06:41Z")

</div>

> [@blake](#):
>
> try using the \<user\_id\> of the user instead of the username?

Perfect, worked like a charm. I got confused it with username. Thanks much.

Now, the user gets an activation email which I want to avoid, will look around how to avoid that.

---

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