# how can i add exist user to my User Management through api?

**URL:** <https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627>\
**Category:** API and Webhooks\
**Created:** [August 24, 2018, 6:51am UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627 "2018-08-24T06:51:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![11110](https://avatars.discourse-cdn.com/v4/letter/1/e19adc/32.png) [@11110](https://devforum.zoom.us/u/11110)\
**Post date:** [August 24, 2018, 6:51am UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/1 "2018-08-24T06:51:46Z")

</div>

how&nbsp;can&nbsp;i&nbsp;do&nbsp;follow ：add&nbsp;user&nbsp;action&nbsp;through&nbsp;rest&nbsp;api，anyone&nbsp;help？

 ![](https://support.zoom.us/hc/user_images/_A11FpD1GC1a9uojCW0PIA.png)

---

<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:** [August 24, 2018, 5:57pm UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/2 "2018-08-24T17:57:06Z")

</div>

Hello,&nbsp;

Yes you create a user using [Create User](https://zoom.github.io/api/#create-a-user)API.&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![11110](https://avatars.discourse-cdn.com/v4/letter/1/e19adc/32.png) [@11110](https://devforum.zoom.us/u/11110)\
**Post date:** [August 25, 2018, 3:19am UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/3 "2018-08-25T03:19:00Z")

</div>

POST [https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)

{  
“action”: “Create”,  
“user\_info”: {  
“email”: “[xmhll@intretech.com](mailto:xmhll@intretech.com)”,  
“type”: “1”,  
“first\_name”: “huang”,  
“last\_name”: “liling”  
}  
}

response :

{  
“code”: 300,  
“message”: “Validation Failed.”,  
“errors”: [  
{  
“field”: “action”,  
“message”: “Invalid field.”  
}  
]  
}

why fail?

 ![](https://support.zoom.us/hc/user_images/MFk08kU2zGZx4y_oSIEMqA.png)

---

<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:** [August 27, 2018, 4:43pm UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/4 "2018-08-27T16:43:27Z")

</div>

Hello,&nbsp;

You have a uppercase C, change it to lowercase c. For example {action:“create”}.&nbsp;

It should work then.&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![11110](https://avatars.discourse-cdn.com/v4/letter/1/e19adc/32.png) [@11110](https://devforum.zoom.us/u/11110)\
**Post date:** [September 6, 2018, 9:05am UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/5 "2018-09-06T09:05:58Z")

</div>

[https://api.zoom.us/v2/users/{userId}](https://api.zoom.us/v2/users/%7BuserId%7D)

|

how can i get userid from api?

&nbsp;

&nbsp;

|

![](https://v2.zopim.com/widget/images/avatar_simple_visitor.png)

|

|

i can’t get userid from email

&nbsp;

&nbsp;

|

![](https://v2.zopim.com/widget/images/avatar_simple_visitor.png)

|

|

how can i do that ?

|

---

<div class="post-metadata">

**Author:** ![11110](https://avatars.discourse-cdn.com/v4/letter/1/e19adc/32.png) [@11110](https://devforum.zoom.us/u/11110)\
**Post date:** [September 7, 2018, 2:46am UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/6 "2018-09-07T02:46:24Z")

</div>

Hi Michael,

[https://api.zoom.us/v2/users/{userId}](https://api.zoom.us/v2/users/%7BuserId%7D)

|

can i get userid from&nbsp;email ，

which&nbsp;api&nbsp;can do that, would you help?

|

&nbsp;

|

&nbsp;

---

<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:** [September 7, 2018, 5:09pm UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/7 "2018-09-07T17:09:03Z")

</div>

Hello,&nbsp;

You should be able to get the user\_id from using the email. The userID is the id that returns in the response.&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![11110](https://avatars.discourse-cdn.com/v4/letter/1/e19adc/32.png) [@11110](https://devforum.zoom.us/u/11110)\
**Post date:** [September 8, 2018, 12:35am UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/8 "2018-09-08T00:35:45Z")

</div>

Hi Michael,

I&nbsp;mean&nbsp;which&nbsp;api&nbsp;can&nbsp;return user\_id from&nbsp;from the email？

---

<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:** [September 10, 2018, 6:18pm UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/9 "2018-09-10T18:18:52Z")

</div>

Hi,&nbsp;

The&nbsp;[https://zoom.github.io/api/#retrieve-a-user](https://zoom.github.io/api/#retrieve-a-user) API returns the userID if you use&nbsp;[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/%7BuserId%7D)[myemail@gmail.com](mailto:myemail@gmail.com).

&nbsp;

Thanks

---

<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, 5:54pm UTC](https://devforum.zoom.us/t/how-can-i-add-exist-user-to-my-user-management-through-api/1627/10 "2020-08-21T17:54:02Z")

</div>

Closed on August 21, 2020, 5:54pm UTC


