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

how can i do follow :add user action through rest api,anyone help?

Hello, 

Yes you create a user using Create UserAPI. 

Thanks

POST https://api.zoom.us/v2/users

{
“action”: “Create”,
“user_info”: {
“email”: “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?

Hello, 

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

It should work then. 

Thanks

https://api.zoom.us/v2/users/{userId}

|

how can i get userid from api?

 

 

|

|

|

i can’t get userid from email

 

 

|

|

|

how can i do that ?

|

Hi Michael,

https://api.zoom.us/v2/users/{userId}

|

can i get userid from email ,

which api can do that, would you help?

|

 

|

 

Hello, 

You should be able to get the user_id from using the email. The userID is the id that returns in the response. 

Thanks

Hi Michael,

I mean which api can return user_id from from the email?

Hi, 

The https://zoom.github.io/api/#retrieve-a-user API returns the userID if you use https://api.zoom.us/v2/users/myemail@gmail.com.

 

Thanks