I am currently migrating our integration with zoom from V1 to V2, and am implementing the OAuth 2 authentication. I am curious on a couple things:
Given that a user grants authorization to the application and access and refresh tokens are successfully generated, am i able to create meetings on their behalf without their userId? Using /me endpoints? Which endpoints are supported? I haven’t found much information about it. Or are userId’s always required in the url?
If the userId is required, what is the easiest way to obtain those for an organization given i am an admin?
The reference page you’ve provided for the /me context explicitly says " you can use me in place of the User ID to restrict the context of the call to the user that token belongs to". Wouldn’t this mean i don’t need the userId to create meetings on their behalf, since the access token i am passing would restrict the context of the call to that user?
If you have the user’s access token, you can easily JWT parse it to get the userId, and then make calls to the create a meeting endpoint to create meetings on behalf of a user.
I’m building this application in Apex/Salesforce and don’t have an easy way to JWT-parse the access token. I simply just want to confirm this section in your documentation is actually supported: