# How to create a user by ZOOM API with "autoCreate" action

**URL:** <https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360>\
**Category:** API and Webhooks\
**Created:** [February 22, 2019, 11:44am UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360 "2019-02-22T11:44:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![daimoon.hunter](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@daimoon.hunter](https://devforum.zoom.us/u/daimoon.hunter)\
**Post date:** [February 22, 2019, 11:44am UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360/1 "2019-02-22T11:44:42Z")

</div>

when I request like this:  
POST [https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)  
(  
‘action’ =\> ‘autoCreate’,  
‘user\_info’ =\>  
array (  
‘email’ =\> ‘lalala17\_23@abc.com’,  
‘type’ =\> 1,  
‘first\_name’ =\> ‘’,  
‘last\_name’ =\> ‘’,  
‘password’ =\> ‘123123’,  
),  
)

and got response :{“code”:300,“message”:“Validation Failed.”,“errors”:[{“field”:“user\_info.password”,“message”:“Invalid field.”}

any ideas?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 22, 2019, 4:32pm UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360/2 "2019-02-22T16:32:32Z")

</div>

Hi @daimoon.hunter,

To use auto create do you have managed domain enabled? Also, have you tried to create a user using curl command or within postman to make sure the code isn’t interfering with the API call?

Thanks

---

<div class="post-metadata">

**Author:** ![daimoon.hunter](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@daimoon.hunter](https://devforum.zoom.us/u/daimoon.hunter)\
**Post date:** [February 25, 2019, 3:23am UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360/3 "2019-02-25T03:23:35Z")

</div>

Hi Michael thanks for reply  
I just approved managed domain in account profile.

 ![20190225143453](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/afaa939a2f35d17e1eee6977768e3352be020218.png)  
and try with API tools  
 ![20190225142952](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/3d140b7cc59e0c448fb09209297231333022e7b8.png)  
still not working

---

<div class="post-metadata">

**Author:** ![daimoon.hunter](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@daimoon.hunter](https://devforum.zoom.us/u/daimoon.hunter)\
**Post date:** [February 27, 2019, 2:56am UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360/4 "2019-02-27T02:56:51Z")

</div>

Hello @michael_p.zoom can you help me with this problem?  
I really need this feature

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 27, 2019, 6:48pm UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360/5 "2019-02-27T18:48:09Z")

</div>

Hi @daimoon.hunter,

The password has to have a minimum of 8 characters and maximum of 32 characters.

Let us know if that works.

Thanks

---

<div class="post-metadata">

**Author:** ![daimoon.hunter](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@daimoon.hunter](https://devforum.zoom.us/u/daimoon.hunter)\
**Post date:** [February 28, 2019, 2:03am UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360/6 "2019-02-28T02:03:19Z")

</div>

Hello @michael_p.zoom  
It works , thank you very much!  
I didn’t notice the rules of the password,it’s my fault

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 28, 2019, 6:52pm UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360/7 "2019-02-28T18:52:20Z")

</div>

No worries, glad we can help you out!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:11pm UTC](https://devforum.zoom.us/t/how-to-create-a-user-by-zoom-api-with-autocreate-action/3360/8 "2020-08-21T18:11:42Z")

</div>

Closed on August 21, 2020, 6:11pm UTC


