# Get Meeting Passcode using Zoom App SDK

**URL:** <https://devforum.zoom.us/t/get-meeting-passcode-using-zoom-app-sdk/85542>\
**Category:** Zoom Apps\
**Created:** [March 28, 2023, 11:08pm UTC](https://devforum.zoom.us/t/get-meeting-passcode-using-zoom-app-sdk/85542 "2023-03-28T23:08:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmagana1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hmagana1/32/47149_2.png) [@hmagana1](https://devforum.zoom.us/u/hmagana1)\
**Post date:** [March 28, 2023, 11:08pm UTC](https://devforum.zoom.us/t/get-meeting-passcode-using-zoom-app-sdk/85542/1 "2023-03-28T23:08:03Z")

</div>

**Zoom Apps Configuration**  
React Zoom App, in meeting side panel.

**Description**  
I want to get the meeting passcode for the current meeting where the app is open. My use case is for a Corporate external user to join the current user’s meeting.  
I noticed the WebSDK for Android has a function that accomplishes this, but I haven’t been able to find one such option in @zoom1234/appssdk  
I want to avoid the user having to type the password on their own for UX reasons.

**Error?**  
No error message.

**Troubleshooting Routes**  
Thoroughly read @zoom1234/appssdk documentation.

---

<div class="post-metadata">

**Author:** ![biinster](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@biinster](https://devforum.zoom.us/u/biinster)\
**Post date:** [March 29, 2023, 4:06am UTC](https://devforum.zoom.us/t/get-meeting-passcode-using-zoom-app-sdk/85542/2 "2023-03-29T04:06:44Z")

</div>

You can use a couple of Meeting API REST calls for this. If you already have the OAuth routine in place and the ZoomSDK configured, this should be as easy as:

```auto
// get current meeting UUID
const { meetingUUID } = await zoomSdk.getMeetingUUID();
// get all live meetings for current user
// >>>ASIDE: Can a user have more than 1 live meeting ?
const { meetings } = await fetch(`PROXIED_PATH_TO_ZOOM_API_SERVER/users/me/meetings?type=live`).then(r => r.json());
// find the one that matches the current meeting UUID
const _meetingID = meetings.find(m => m.uuid === meetingUUID).id;
// get the passcode and store it in `const password`
const { password } = await fetch(`PROXIED_PATH_TO_ZOOM_API_SERVER/meetings/${_meetingID`).then(r => r.json());

```

Disclaimer: not tested

---

<div class="post-metadata">

**Author:** ![hmagana1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hmagana1/32/47149_2.png) [@hmagana1](https://devforum.zoom.us/u/hmagana1)\
**Post date:** [April 3, 2023, 8:13pm UTC](https://devforum.zoom.us/t/get-meeting-passcode-using-zoom-app-sdk/85542/3 "2023-04-03T20:13:02Z")

</div>

Hey that sounds reasonable.  
Will go ahead and try it and let you know if it worked when I’m done. Thank you!

---

<div class="post-metadata">

**Author:** ![hmagana1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hmagana1/32/47149_2.png) [@hmagana1](https://devforum.zoom.us/u/hmagana1)\
**Post date:** [April 4, 2023, 10:33pm UTC](https://devforum.zoom.us/t/get-meeting-passcode-using-zoom-app-sdk/85542/4 "2023-04-04T22:33:39Z")

</div>

That worked brilliantly, thank you Biinster!

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [April 5, 2023, 6:24pm UTC](https://devforum.zoom.us/t/get-meeting-passcode-using-zoom-app-sdk/85542/5 "2023-04-05T18:24:56Z")

</div>

@hmagana1,  
Glad you were able to get support from, @biinster ! Please don’t hesitate to ask me any additional questions. Please let us know as we are always happy to help.

Happy coding!
