How to get participant id?

I’m using jitsi with the JitsiMeetExternalAPI, and I need to get the ID of the person connected on this instance. How can I do this? I want to do this so I can pin the participant. Thanks!