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


#1

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


#2

Hello, 

Yes you create a user using Create UserAPI. 

Thanks


#3

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?


#4

Hello, 

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

It should work then. 

Thanks


#5

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 ?

|


#6

Hi Michael,

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

|

can i get userid from email ,

which api can do that, would you help?

|

 

|

 


#7

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


#8

Hi Michael,

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


#9

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