How to get user's department using GET /users/{userId}

Description
I want to trace the department of the lecture who initiate the zoom meeting/
I saw in https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user
that by using " GET/users/{userId}" there are various responses - one of them dept.

Is there any example how to trace user’s department using this command?

Hi @brefaeli

Thanks for reaching out to the Zoom Developer Forum, I am happy to assist here!
In order to get the “dept” value on your response, I would suggest you to update your users and assigning them a dept value by calling the Update a user endpoint

Once you have assigned a “dept” value on each user then you will be able to call the Get a user endpoint and get a proper value on your response body

Hope this helps,
Best,
Elisa

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.