# getAttendeeslist API not working as expected

**URL:** <https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932>\
**Category:** Web\
**Created:** [September 17, 2019, 3:10am UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932 "2019-09-17T03:10:33Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![edward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/edward/32/1829_2.png) [@edward](https://devforum.zoom.us/u/edward)\
**Post date:** [September 17, 2019, 3:10am UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/1 "2019-09-17T03:10:33Z")

</div>

**Description/Error**  
The api docs for `ZoomMtg.getAttendeeslist()` seems to be incomplete. When I follow the example and call `ZoomMtg.getAttendeeslist({})` in a meeting with 3 attendees, the return value is `undefined`. I suspect I need to specify some params but the documentation has no info for it.

[https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/api-reference](https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/api-reference)

Also, this should following common naming conventions and be named `getAttendeesList` with a capital `L`.

**Which Endpoint/s or Web JS SDK?**  
Web sdk version 1.5.1

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 17, 2019, 7:07pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/3 "2019-09-17T19:07:40Z")

</div>

Hi @edward,

Would you be able to provide the meeting ID so that we can investigate this issue further?

Thanks

---

<div class="post-metadata">

**Author:** ![edward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/edward/32/1829_2.png) [@edward](https://devforum.zoom.us/u/edward)\
**Post date:** [September 17, 2019, 10:15pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/4 "2019-09-17T22:15:43Z")

</div>

Sure, its \*\*\*\*\*\*\*\*\*\*\*- there’s probably a few dozen instances for this meeting ID.

I still believe think the API documentation is lacking for using this function in the sense of how to use it and what to expect from it.

\*This post has been edited to remove any meeting / webinar IDs

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 18, 2019, 9:03pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/5 "2019-09-18T21:03:39Z")

</div>

Hi @edward,

Try using the below code snippet. When you run it you should see an object with method getAttendeeList. Within the object look at the result.attendeeList property.

```
ZoomMtg.getAttendeeslist({
        success: function (res) {
                    console.log(res, "get getAttendeeslist");
           }
});

```

Let us know if this helps.

Thanks

---

<div class="post-metadata">

**Author:** ![edward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/edward/32/1829_2.png) [@edward](https://devforum.zoom.us/u/edward)\
**Post date:** [September 19, 2019, 5:42pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/6 "2019-09-19T17:42:18Z")

</div>

Yes this works!

This needs to be publicly documented for developers.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 19, 2019, 6:06pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/7 "2019-09-19T18:06:55Z")

</div>

Hi @edward,

Thats great to hear! We’re in the process of revamping our all of our SDK documentation. We should have these updated soon.

Thanks

---

<div class="post-metadata">

**Author:** ![skwirrel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/skwirrel/32/8331_2.png) [@skwirrel](https://devforum.zoom.us/u/skwirrel)\
**Post date:** [May 13, 2020, 8:15am UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/8 "2020-05-13T08:15:02Z")

</div>

+1 for more documentation on this, particularly: what does the result look like. Does it include things like whether the attendee has their hand raised and also any nonverbal communication by the attendee.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [May 15, 2020, 10:48pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/9 "2020-05-15T22:48:12Z")

</div>

Hi @skwirrel,

This only returns the list of attendees names. Right now we do not have a way to detect if a user raised their hand or any other nonverbal communications. We’ll ask our Engineers to include this in our APIs in a later release.

Thanks

---

<div class="post-metadata">

**Author:** ![ilya1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ilya1/32/9579_2.png) [@ilya1](https://devforum.zoom.us/u/ilya1)\
**Post date:** [May 31, 2020, 8:22pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/10 "2020-05-31T20:22:32Z")

</div>

@michael_p.zoom the snippet provided works. Thanks for that. But can you also update the documentation? The docs seems to be very outdated and contain spelling errors.

---

<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:** [June 3, 2020, 8:15pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/11 "2020-06-03T20:15:24Z")

</div>

Hey @ilya1,

Happy to hear the code worked for you! 🙂

Yes, we are working on improving the Web SDK reference.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [August 12, 2020, 8:08pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/12 "2020-08-12T20:08:32Z")

</div>

> [@michael\_p.zoom](#):
>
> ```auto
> ZoomMtg.getAttendeeslist({
> success: function (res) {
> console.log(res, "get getAttendeeslist");
> }
> });
> 
> ```

This is still not updated in the documentation, FYI! It’s really difficult to actually develop with the SDK when the support (documentation) is not maintained!

---

<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:** [August 13, 2020, 5:53am UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/13 "2020-08-13T05:53:34Z")

</div>

Hey @alexmayo,

We will get this updated. CC @michael.zoom @shrijana.g.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![t.barry-woods](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@t.barry-woods](https://devforum.zoom.us/u/t.barry-woods)\
**Post date:** [December 15, 2021, 4:01am UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/14 "2021-12-15T04:01:55Z")

</div>

The API docs are still not updated, more than 2 years on. This seems to be the case for many of the web meeting SDK functions.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 17, 2021, 11:24pm UTC](https://devforum.zoom.us/t/getattendeeslist-api-not-working-as-expected/5932/15 "2021-12-17T23:24:37Z")

</div>

Hey @t.barry-woods,

Thank you for reaching out to the Zoom Developer Forum and for highlighting this. I’ll bring this up during our next team meeting to get this updated ASAP.

Thanks,  
Max
