# iOS SDK to handle registration required meeting

**URL:** <https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650>\
**Category:** iOS\
**Created:** [July 19, 2017, 10:14am UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650 "2017-07-19T10:14:10Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wei\_Shi](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@Wei\_Shi](https://devforum.zoom.us/u/Wei_Shi)\
**Post date:** [July 19, 2017, 10:14am UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/1 "2017-07-19T10:14:10Z")

</div>

On server side I use rest API to create a meeting with option\_registration:true, and I also use meeting/register to register users who can join the meeting. &nbsp;But with iOS SDK, how can I allow and enforce that only those registered users can join the meeting?

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [July 19, 2017, 6:01pm UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/2 "2017-07-19T18:01:39Z")

</div>

Hi Wei,

if the meeting is created with option\_registration:true, then only registered user can join the meeting. On the SDK side, either you pass USER\_ID, USER\_TOKEN to authenticate the user, or you use email/password login to authenticate. Both approaches will provide information to SDK about whether if this user is registered or not.

Best

---

<div class="post-metadata">

**Author:** ![Wei\_Shi](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@Wei\_Shi](https://devforum.zoom.us/u/Wei_Shi)\
**Post date:** [July 20, 2017, 1:44am UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/3 "2017-07-20T01:44:34Z")

</div>

Hi Wei,

Thank you for answer. Since we will develop for API partner plan, so the user created by user/custcreate will not have password. &nbsp;Per your comment, we should use the USER\_ID, USER\_TOKEN method. I found the following from ios SDK document,

![](https://support.zoom.us/hc/user_images/-WzvnJzLQABE3rjFcnO63A.png)

Is the&nbsp;kMeetingParam\_ParticipantID:kParticipantID the USER\_ID? And there is no USER\_TOKEN required. Please confirm this approach or other sample code that works.

Thanks.

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [July 20, 2017, 9:43pm UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/4 "2017-07-20T21:43:53Z")

</div>

Hi Wei,

for join a meeting, you don’t need to pass User token. Token is only needed when you want to start a meeting.

Best

---

<div class="post-metadata">

**Author:** ![Wei\_Shi](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@Wei\_Shi](https://devforum.zoom.us/u/Wei_Shi)\
**Post date:** [July 21, 2017, 6:16am UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/5 "2017-07-21T06:16:48Z")

</div>

Should the ios SDK join meeting parameter&nbsp;kMeetingParam\_ParticipantID:kParticipantID be set to the parameter&nbsp;registrant\_id returned by rest api&nbsp;meeting/register?

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [July 25, 2017, 1:20am UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/6 "2017-07-25T01:20:28Z")

</div>

Hi Wei,

you don’t have to do that.&nbsp;kParticipantID can be anything that let you distinguish different Users.

Best&nbsp;

---

<div class="post-metadata">

**Author:** ![Wei\_Shi](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@Wei\_Shi](https://devforum.zoom.us/u/Wei_Shi)\
**Post date:** [July 25, 2017, 1:47am UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/7 "2017-07-25T01:47:55Z")

</div>

Hi Wei,

In this case I still did not get how I can control only the registered user can join the meeting. Again, by using&nbsp;rest api&nbsp;meeting/register, I have the returned parameters of(from your document),

{ “registrant\_id”: “unique\_id”, “id”: “123456789”, “topic”: “meeting registration”, “start\_time”: “2016-02-21T04:00:00Z”, “join\_url”: “[https://www.zoom.us/w/869275230?tk=2DsQiu6nZVsZVATrPLvXgqPvw8mmKyxgAGaDMizLv34.DQEAAAAAM9AWXhZ2Nm5vRjIyMlRoUzE3ZktWM3l4cHVRAA](https://www.zoom.us/w/869275230?tk=2DsQiu6nZVsZVATrPLvXgqPvw8mmKyxgAGaDMizLv34.DQEAAAAAM9AWXhZ2Nm5vRjIyMlRoUzE3ZktWM3l4cHVRAA)” }

and how can I use those parameters to control&nbsp;only the registered user can join the meeting?

Thanks,

---

<div class="post-metadata">

**Author:** ![Wei\_Shi](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@Wei\_Shi](https://devforum.zoom.us/u/Wei_Shi)\
**Post date:** [July 25, 2017, 1:52am UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/8 "2017-07-25T01:52:39Z")

</div>

The question is for iOS SDK. I know for web browser there is a specified URL.

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [July 25, 2017, 9:27pm UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/9 "2017-07-25T21:27:55Z")

</div>

Hi Wei,&nbsp;

how about enable password for the meeting, and then you can pass the join URL to registered users? Once the user has that meeting URL, he can click it and SDK will take care rest of it.

Best &nbsp;

---

<div class="post-metadata">

**Author:** ![Wei\_Shi](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@Wei\_Shi](https://devforum.zoom.us/u/Wei_Shi)\
**Post date:** [July 26, 2017, 2:15am UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/10 "2017-07-26T02:15:41Z")

</div>

Hi Wei,

I am talking about iOS SDK integration, where the join URL doesn’t apply. &nbsp;And enabling password is not an acceptable solution, since we don’t want to distribute password and ask users to enter it. &nbsp;Again, the question is, when a meeting is created &nbsp;with registration only and have all allowable participants registered before the meeting, how the iOS client allows and enforces only registered users can join the meeting? And since we develop with API partner plan, the iOS client can not login user with email and password, since all users are created with rest API user/custcreate without password. &nbsp;Would you please show the sample code of your solution?

Thanks,

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [July 28, 2017, 5:16pm UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/11 "2017-07-28T17:16:24Z")

</div>

Hi Wei,

could you try to use start meeting function instead for user to join? Currently for join meeting APIs, we don’t have this support.

Best

---

<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, 5:16pm UTC](https://devforum.zoom.us/t/ios-sdk-to-handle-registration-required-meeting/650/12 "2020-08-21T17:16:42Z")

</div>

Closed on August 21, 2020, 5:16pm UTC


