# How to get meeting Id and password in code when instant meeting started?

**URL:** <https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397>\
**Category:** iOS\
**Created:** [April 22, 2020, 9:51am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397 "2020-04-22T09:51:16Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![rj1234ios](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rj1234ios](https://devforum.zoom.us/u/rj1234ios)\
**Post date:** [April 22, 2020, 9:51am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/1 "2020-04-22T09:51:16Z")

</div>

**Description**  
When I host a meeting, or we can say start an instant meeting, some how I need to get the meeting id generated using code. When I start meeting I can see there is meeting id and password displayed on top of the meeting screen. Using that meeting number and password any one can join the meeting I started. Well, in my iOS project I need to use that meeting id in code so that the user who is joining the meeting don’t need to manually insert meeting id and password every time I start the instant meeting. This may seem a bit strange but this is the requirement of my project.  
According to my understanding there should be any delegate method or any api response that contains this id of instant meeting.  
I am able to read meeting number in given method as:

func onMeetingReady() {  
print(“meeting ready”)  
let pw = MobileRTCInviteHelper.sharedInstance().meetingPassword  
let meetingNumber = MobileRTCInviteHelper.sharedInstance().ongoingMeetingNumber  
}

here in code above the meeting number is exactly what we see on top of meeting screen as meeting number. But the password got here is some sort of string as:  
“”  
My question is how can I get password here.  
And another thing I want to know is :-\> is it required to have password in meetings? Can I start meeting without having password? If yes, How? If no, How to get password in code?  
“TFB2UnFONWgrVlpldEZ0N0JmL01RUT09”  
Thanks in advance !!

**Which version?**  
ios-mobilertc-all-4.6.15084.0206-n.zip  
that I got from this link: [https://github.com/zoom/zoom-sdk-ios/releases/tag/v4.6.15084.0206](https://github.com/zoom/zoom-sdk-ios/releases/tag/v4.6.15084.0206)

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 23, 2020, 7:14am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/2 "2020-04-23T07:14:23Z")

</div>

Hi [rj1234ios](https://devforum.zoom.us/u/rj1234ios),

Thanks for the post. The code snippet you are showing is the right way to get the meeting password. All related info is available in MobileRTCInviteHelper. If you do not want to have a password by default with your meetings, you could configure it in the web portal:

 ![Screen Shot 2020-04-23 at 12.08.52 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/0/0c56b551a673489a0a2a7e263406d7be4a301e14.png)

They are enabled by default to protect your meetings. You may disable it if it against your use cases, but please be aware of the risk after disabling the password.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![tewodroswondimu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tewodroswondimu/32/6971_2.png) [@tewodroswondimu](https://devforum.zoom.us/u/tewodroswondimu)\
**Post date:** [April 30, 2020, 1:01pm UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/3 "2020-04-30T13:01:51Z")

</div>

If you’re looking to get the shorter password displayed at the top of the meeting screen use the code below instead:  
MobileRTCInviteHelper.sharedInstance().rawMeetingPassword

---

<div class="post-metadata">

**Author:** ![rj1234ios](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rj1234ios](https://devforum.zoom.us/u/rj1234ios)\
**Post date:** [April 30, 2020, 1:34pm UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/4 "2020-04-30T13:34:29Z")

</div>

Exactly what I was looking for. Your answer is late but exact. Thanks!!!

---

<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:** [May 5, 2020, 10:42pm UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/5 "2020-05-05T22:42:47Z")

</div>

Thanks @tewodroswondimu! 🙂

Let us know if you have additional questions @rj1234ios!

-Tommy

---

<div class="post-metadata">

**Author:** ![codelogicapp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/codelogicapp/32/9045_2.png) [@codelogicapp](https://devforum.zoom.us/u/codelogicapp)\
**Post date:** [May 24, 2020, 11:32am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/6 "2020-05-24T11:32:44Z")

</div>

Hello, i am looking to implement the same thing in android application. How do i get the meeting password for android ?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 27, 2020, 8:50am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/7 "2020-05-27T08:50:13Z")

</div>

Hi @codelogicapp,

You may use `InMeetingService.getMeetingPassword`([https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingService.html#getMeetingPassword--](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingService.html#getMeetingPassword--)).

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![codelogicapp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/codelogicapp/32/9045_2.png) [@codelogicapp](https://devforum.zoom.us/u/codelogicapp)\
**Post date:** [May 27, 2020, 9:20am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/8 "2020-05-27T09:20:02Z")

</div>

Hey thanks for your help, even though the help was late i already figured out the way to get the meeting’s password. Thanks

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 28, 2020, 8:58am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/9 "2020-05-28T08:58:24Z")

</div>

Glad to hear that you have found the solution. We are having increasing demands on supports and have limited bandwidth so the respond time is longer than before. Happy Zooming!

---

<div class="post-metadata">

**Author:** ![mmeyahi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mmeyahi/32/11113_2.png) [@mmeyahi](https://devforum.zoom.us/u/mmeyahi)\
**Post date:** [June 28, 2020, 12:12am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/10 "2020-06-28T00:12:38Z")

</div>

Hi, how to get meeting id and password of meeting in android sdk after start meeting?

after this code:  
int res = meetingService.startInstantMeeting(context, opts);

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 3, 2020, 6:58am UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/11 "2020-07-03T06:58:45Z")

</div>

Hi @mmeyahi,

You may get the meeting ID and the meeting password using the following interfaces:

- Meeting ID:[https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingService.html#getCurrentMeetingNumber--](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingService.html#getCurrentMeetingNumber--)
- Meeting Password: [https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingService.html#getMeetingPassword--](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingService.html#getMeetingPassword--)

Thanks!

---

<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, 10:33pm UTC](https://devforum.zoom.us/t/how-to-get-meeting-id-and-password-in-code-when-instant-meeting-started/14397/12 "2020-08-21T22:33:52Z")

</div>

Closed on August 21, 2020, 10:33pm UTC


