getAttendeeslist API not working as expected

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

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

Hi @edward,

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

Thanks

Sure, its 917-923-377- 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.

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

Yes this works!

This needs to be publicly documented for developers.

1 Like

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