Hello , I am using Zoom Webhook ## POST meeting.participant_joined_waiting_room api Zoom API Events - Meeting , where in the event I am getting this data for the participant
You won’t get the photo from that meeting event, but if the user participant is a user on your account or an account you have access to, you can use this endpoint to retrieve the pic_url value: GET /users/{userId}
Hi @gianni.zoom
Thank you for your answer, could you please clarify for me what does this means
if the user participant is a user on your account (how I figure out if he is or not? , or how to have user in my account? )
an account you have access to (access you mean have credentials or anything else? or will the user_id which I get from meeting.participant_joined_waiting_room api, work for GET /users/{userId})
Thank you
Internal users are Zoom users that belong to your account.
External users are Zoom users that don’t belong to your account.
“An account you have access to”, would be where external users fall in this context. For example, users how have installed a publish app you own that allows access to certain information like info from GET /users/{userId}
The POST meeting.participant_joined_waiting_room API only returns the participant’s ID, name, and UUID. If you want to get the participant’s email and photo, you will need to use a different API.
One API that you can use is the GET userinfo API. This API returns information about a user, including their email address and profile photo URL.
The following is an example of how to use the GET userinfo API to get a participant’s email and photo:
curl -X GET https://api.zoom.us/v2/users/16787456
The response from the GET userinfo API will be a JSON object with the following fields:
email: The participant’s email address.
photo_url: The URL of the participant’s profile photo.
If the participant does not have a profile photo, the photo_url field will be empty.
Here is an example of the response from the GET userinfo API: