# Attendees profile pics

**URL:** <https://devforum.zoom.us/t/attendees-profile-pics/5825>\
**Category:** Windows\
**Created:** [September 9, 2019, 5:36pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825 "2019-09-09T17:36:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![igor.lunarx](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/igor.lunarx/32/1354_2.png) [@igor.lunarx](https://devforum.zoom.us/u/igor.lunarx)\
**Post date:** [September 9, 2019, 5:36pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/1 "2019-09-09T17:36:10Z")

</div>

**Description**  
Is it possible to get the attendees profile pictures?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 9, 2019, 7:05pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/2 "2019-09-09T19:05:27Z")

</div>

Hey @igor.lunarx,

You can get an attemdees profile picture (`pic_url`) if they are apart of your account using the GET /users/{userId} endpoint.

> **[Get a Specific User - Users - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user)**
>
> Retrieve a user on your account.
> Scopes: user:read:admin user:read
> 
> Authorization
> 
> Request Parameters
> 
> Responses
> 
> Send a Test Request

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![igor.lunarx](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/igor.lunarx/32/1354_2.png) [@igor.lunarx](https://devforum.zoom.us/u/igor.lunarx)\
**Post date:** [September 11, 2019, 5:49pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/3 "2019-09-11T17:49:07Z")

</div>

Tommy, thanks for the reference.

I’m trying to send the userid but I’m getting nothing.

I’m using the Zoom SDK C# Wrapper

```
                IUserInfoDotNetWrap user = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().
                GetMeetingParticipantsController().GetUserByUserID(userid);

```

This user Id returns ok on this call, but when i’m trying to use the same userID on the API you refered allways return “User not exist”

Am I doing it wrong? And if so, where can i find the userId?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 11, 2019, 7:27pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/4 "2019-09-11T19:27:57Z")

</div>

Hey @igor.lunarx,

[From the docs:](https://zoom.github.io/zoom-sdk-windows/class_i_meeting_participants_controller.html#afa0887b5e66feb3204338a3260129989)  
Zero(0) indicates to get the information of the current user.

Try

```auto
IUserInfoDotNetWrap user = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().
GetMeetingParticipantsController().GetUserByUserID(0);

```

You can get a list of userIds from [GET /users](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users).

Although after looking at the response from [GetUserByUserID](https://zoom.github.io/zoom-sdk-windows/class_i_user_info.html) it does not look like the profile picture is included.

You have to use a [JWT](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) or [OAuth](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-oauth-app) App type to call the [GET /users/{userId}](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user) endpoint to get the `pic_url`.

Let me know if this helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![igor.lunarx](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/igor.lunarx/32/1354_2.png) [@igor.lunarx](https://devforum.zoom.us/u/igor.lunarx)\
**Post date:** [September 11, 2019, 7:45pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/5 "2019-09-11T19:45:07Z")

</div>

In my case the attendees are not apart of my account. The “Get a Specific User”, can only get the data from the user who created the application, in this case myself.

Using Zoom we can see the picture of others attendees but we cant access via SDK or API those images?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 11, 2019, 7:49pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/6 "2019-09-11T19:49:39Z")

</div>

Hey @igor.lunarx,

> [@igor.lunarx](#):
>
> In my case the attendees are not apart of my account. The “Get a Specific User”, can only get the data from the user who created the application, in this case myself.

You could use an [OAuth App Type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-oauth-app) to get an access\_token to “Get a Specific User” info and profile photo.

Otherwise there is no way to get the picture of attendees outside your account via SDK or API.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![igor.lunarx](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/igor.lunarx/32/1354_2.png) [@igor.lunarx](https://devforum.zoom.us/u/igor.lunarx)\
**Post date:** [September 11, 2019, 8:01pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/7 "2019-09-11T20:01:37Z")

</div>

> [@tommy](#):
>
> You could use an [OAuth App Type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-oauth-app) to get an access\_token to “Get a Specific User” info and profile photo.

I’ve tried this and only works with my own account. Is this the way its supposed to work?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 11, 2019, 8:05pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/8 "2019-09-11T20:05:51Z")

</div>

If the user is a user outside your Zoom account, they can “Sign in with Zoom” in your application, then you can use the access\_token generated to call GET /users/{userId} to get their photo. (You can pass in `me` instead of the userId [to make things easier as well](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#me-context).)

Does that make sense?

-Tommy

---

<div class="post-metadata">

**Author:** ![igor.lunarx](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/igor.lunarx/32/1354_2.png) [@igor.lunarx](https://devforum.zoom.us/u/igor.lunarx)\
**Post date:** [September 12, 2019, 7:05pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/9 "2019-09-12T19:05:05Z")

</div>

Yes, that made some sense.

Sadly It won’t work for me. In my project is only one attendee is using the application.

In this case the other attendees won’t grant access to my application nor they are users apart of my account

That’s only this two ways to get their images?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 12, 2019, 7:12pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/10 "2019-09-12T19:12:25Z")

</div>

Hey @igor.lunarx,

Sorry to hear it won’t work for your use case. Unfortunately, using the GET /users/{userId} endpoint is the only way to get a users profile picture.

Currently there is no interfaces in either C# wrapper or the Windows SDK to get the profile picture.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:41pm UTC](https://devforum.zoom.us/t/attendees-profile-pics/5825/11 "2020-08-21T18:41:38Z")

</div>

Closed on August 21, 2020, 6:41pm UTC


