Description
is there an API to retrieve an Account’s basic information? Specifically the account type?
Hey @briceicle,
Are you trying to get a Master Accounts account type, or a sub account / user?
For a sub account: https://marketplace.zoom.us/docs/api-reference/zoom-api/billing/accountplans
For a user: https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user
Thanks,
Tommy
Hey @briceicle,
What do you mean by type? Type of plan?
Can you share your use case please?
Thanks,
Tommy
@tommy yes, the type of plan.
Background:
We have a Zoom app that use custCreate to create users. However, custCreate is only available for Pro+ accounts
The Use Case:
We would like to query the type of plan of the account in order to show/hide the functionality describe above for our users.
Hey @briceicle,
Thanks for sharing the use case!
You can use the GET /users/{userId} endpoint which returns the type
.
Thanks,
Tommy
Hey @tommy,
Isn’t the User’s plan type different than the Account’s plan type? I’d like to query the Account’s plan, not the User’s
Hey @briceicle,
You can only get the plan for Users / Sub Accounts with the API.
But checking the plan for the user should work in your use case since users can have different account types under a Master Account.
Thanks,
Tommy
Hey @tommy,
My Zoom App is an account level app, and the user who authorizes the app is an admin. Would checking the plan of this admin user enough to determine whether I can call custCreate on the account?