userID - where to get it?

Description
I need to connect to https://api.zoom.us/v2/users/{userId}/meetings API endpoint and I am not sure where I need to go to get it. I tried the user Personal Meeting ID from Zoom, the user email I used to create the JWT credentials, even the string I see on the URL when I open the App that I created.

Error
When I call the API I get error 124 Access token expired

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT app.

Which Endpoint/s?
https://api.zoom.us/v2/users/{userId}/meetings

Hi @knluser, JWT apps have access to all users on the account. You can replace the {userID} value with the email of the user, or the userID of the user (which can be found in the List Users API).

If you are getting an Access Token expired response, are you using a JSON Web Token? Or OAuth? JWTs are meant to be generated uniquely on each request, unless you are strictly testing. If you are using the testing module on our documentation, you should not use an API Key and Secret, but rather use an OAuth app.

Hi Michael

I am always confused by how you define users, registrants and participants. I need to get the demographic details of every participants in our meetings and webinars.

Which endpoint can bring me that? When I try https://api.zoom.us/v2/users I get only 30 users. We have about 30K users that participated in our meetings/webinars in last few months.

Thanks
Rodrigo

Hey @knluser,

The Get Users endpoint is for listing users on your own Zoom account.

To list meeting / webinar participants, you can use these endpoints and webhooks:

Thanks,
Tommy

Thanks for the reply!

1 Like

You are welcome! :slight_smile:

Thanks,
Tommy