Had a couple questions regarding the following scenario.
For an account for which there is a master account and sub-accounts, and the zoom app (account-level app) is installed at the master account level:
does the List Users (https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/users) api return the list of users across the master account and sub-accounts?
the chatbot sendmessage (https://developers.zoom.us/docs/api/rest/reference/chatbot/methods/#operation/sendChatbot) api requires an account_id to be provided as a parameter. If the master AccountId is provided, can a chatbot send a message to a user in a sub-account?
Thanks for reaching out to us!
If you have a master account and subaccount, you should be using the following endpoint:
You will note that in your request URL you will need to pass an account ID to get the users from the account, so this will be either the master account id or any of the sub account.
Thanks for the response.
That api requires a scope of ‘user:master’ which comes with its own requirements to even acquire.
Still hoping to get an answer to the scenario when an Account-level oauth app is installed in a Master Account, and then the api endpoint /users is hit, will this return only users in the master account, or also users in subaccounts. The only other similar forum post I could find on this was Master Account APIs vs. Account level APIs - API and Webhooks - Zoom Developer Forum, which from the answer points that yes hitting the /users api should return users across the master and subaccounts.
Of course @wandrille
Happy to help! I agree, according to that post, it looks like the answer is yes, but personally I do not have the proper testing environment so I am not 100% sure about this.
Allow me to ask internally and will come back to you with an update