# Join Meeting as a Host

**URL:** <https://devforum.zoom.us/t/join-meeting-as-a-host/28425>\
**Category:** iOS\
**Created:** [August 28, 2020, 8:31am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425 "2020-08-28T08:31:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![arora.yogesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arora.yogesh/32/18280_2.png) [@arora.yogesh](https://devforum.zoom.us/u/arora.yogesh)\
**Post date:** [August 28, 2020, 8:31am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/1 "2020-08-28T08:31:41Z")

</div>

Is there any way or bool setting which make sure I Joined meeting as a Host ?

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [August 31, 2020, 8:59pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/2 "2020-08-31T20:59:30Z")

</div>

Hey @arora.yogesh

Thanks for using the dev forum!

You can join meetings as a host or a participant. If a meeting number and meeting password is known and you scheduled the meeting as the host, call `- (MobileRTCMeetError)joinMeetingWithJoinParam:(nonnull MobileRTCMeetingJoinParam*)param; `, and you will join as a host. If you join a meeting and were not already a host, the host will have to make you a host.

You can also start meetings as a host.` - (MobileRTCMeetError)startMeetingWithStartParam:( **nonnull** MobileRTCMeetingStartParam*)param;`

Here is some examples of different joining/starting methods: [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/join-meeting-only](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/join-meeting-only)

Let me know if you have any other questions!  
Michael

---

<div class="post-metadata">

**Author:** ![arora.yogesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arora.yogesh/32/18280_2.png) [@arora.yogesh](https://devforum.zoom.us/u/arora.yogesh)\
**Post date:** [September 1, 2020, 2:22pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/3 "2020-09-01T14:22:13Z")

</div>

Hey @Michael_Condon

Thanks for replying here.

I tried the start meeting and join meeting but I was not able to join as a Host.

But when I took login with email & password after authenticate the Zoom SDK and join the meeting then I joined as a Host.

Is there any concept of generating signature and that pass the signature while joining the meeting as a host. I’m trying to ignore sign in.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 1, 2020, 7:26pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/4 "2020-09-01T19:26:52Z")

</div>

Hi @arora.yogesh, thanks for the response.

Ultimately, there needs to be some sort of authentication before starting a meeting as host so that we can verify the person joining is actually the host.

A couple of alternatives to signing in with email/password are:

- [Retrieving the ZAK & User ID through the REST API](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/api-user/authentication) (requires authentication)
- [Logging in with an SSO token](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/sso-login-user/authentication) (requires an SSO integration)

Thanks!

---

<div class="post-metadata">

**Author:** ![arora.yogesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arora.yogesh/32/18280_2.png) [@arora.yogesh](https://devforum.zoom.us/u/arora.yogesh)\
**Post date:** [September 3, 2020, 1:18pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/5 "2020-09-03T13:18:36Z")

</div>

Hi @jon.zoom

I have joined as a Host through web application & using same zak at my mobile app and trying to join as a Host but it is showing as a Guest.

Here is the code below:

```
    MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
    MobileRTCMeetingStartParam * param = nil;

    MobileRTCMeetingStartParam4WithoutLoginUser *user = [[[MobileRTCMeetingStartParam4WithoutLoginUser alloc]init] autorelease];
    user.userType = MobileRTCUserType_ZoomUser;
    user.meetingNumber = userCredential.meetingId;
    user.userName = userCredential.name;
    user.userID = userCredential.email;
    user.isAppShare = NO;
    
    user.zak = userCredential.accessToken;
    param = user;
    
    MobileRTCMeetError ret = [ms startMeetingWithStartParam:param];
```

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 3, 2020, 7:35pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/6 "2020-09-03T19:35:53Z")

</div>

Hey @arora.yogesh,

If you are using a ZAK try and change  
user.userType = MobileRTCUserType\_ZoomUser;  
to  
user.userType = MobileRTCUserType\_APIUser;

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![arora.yogesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arora.yogesh/32/18280_2.png) [@arora.yogesh](https://devforum.zoom.us/u/arora.yogesh)\
**Post date:** [September 4, 2020, 12:19pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/7 "2020-09-04T12:19:54Z")

</div>

Hi @Michael_Condon & @jon.zoom

Thanks for giving your time.

Now, I’m able to join as a co host.

After getting the social auth token I hit the Zoom API and got the zak and using this token I’m able to connect as a co host.

Also I had to replace the MobileRTCUserType\_ZoomUser with MobileRTCUserType\_APIUser.

Thank You so much!!

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 4, 2020, 6:58pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/8 "2020-09-04T18:58:30Z")

</div>

@arora.yogesh

Awesome! Glad you got it working!

Let us know if you have any other questions 🙂

Michael.

---

<div class="post-metadata">

**Author:** ![ramesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ramesh/32/17018_2.png) [@ramesh](https://devforum.zoom.us/u/ramesh)\
**Post date:** [June 9, 2021, 1:13pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/9 "2021-06-09T13:13:47Z")

</div>

hey @Michael_Condon I passed this data

let joinMeetingParameters = MobileRTCMeetingStartParam4WithoutLoginUser()  
joinMeetingParameters.meetingNumber = meetingNumber  
// joinMeetingParameters.password = meetingPassword  
joinMeetingParameters.userName = meetingusername  
joinMeetingParameters.userType = MobileRTCUserType.apiuser  
joinMeetingParameters.userID = mouserid  
joinMeetingParameters.isAppShare = true  
joinMeetingParameters.zak = myzak

still I am not able join as a host.i want to login as host help me to close this issue.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [June 9, 2021, 9:16pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/10 "2021-06-09T21:16:33Z")

</div>

Hey @ramesh,

Can you also provide your call to startMeeting?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![ramesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ramesh/32/17018_2.png) [@ramesh](https://devforum.zoom.us/u/ramesh)\
**Post date:** [June 10, 2021, 4:51am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/11 "2021-06-10T04:51:49Z")

</div>

hey @Michael_Condon

let joinMeetingParameters = MobileRTCMeetingStartParam4WithoutLoginUser()  
joinMeetingParameters.meetingNumber = meetingNumber  
// joinMeetingParameters.password = meetingPassword  
joinMeetingParameters.userName = meetingusername  
joinMeetingParameters.userType = MobileRTCUserType.apiuser  
joinMeetingParameters.userID = myuserid  
joinMeetingParameters.isAppShare = true  
joinMeetingParameters.zak = myzak

param = joinMeetingParameters  
DispatchQueue.main.async {  
let startResponse = meetingService.startMeeting(with: param)//MobileRTCMeetError  
print(“startResponse \n (startResponse)”)  
}

---

<div class="post-metadata">

**Author:** ![ramesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ramesh/32/17018_2.png) [@ramesh](https://devforum.zoom.us/u/ramesh)\
**Post date:** [June 10, 2021, 4:53am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/12 "2021-06-10T04:53:20Z")

</div>

@Michael_Condon I want to login as host with these data still asking me waiting for host to start the meeting but I am the host I can start the meeting directly.

---

<div class="post-metadata">

**Author:** ![ramesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ramesh/32/17018_2.png) [@ramesh](https://devforum.zoom.us/u/ramesh)\
**Post date:** [June 10, 2021, 6:47am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/13 "2021-06-10T06:47:48Z")

</div>

hey [Michael\_Condon](https://devforum.zoom.us/u/michael_condon)

let joinMeetingParameters = MobileRTCMeetingStartParam4WithoutLoginUser()  
joinMeetingParameters.meetingNumber = meetingNumber  
// joinMeetingParameters.password = meetingPassword  
joinMeetingParameters.userName = meetingusername  
joinMeetingParameters.userType = MobileRTCUserType.apiuser  
joinMeetingParameters.userID = myuserid  
joinMeetingParameters.isAppShare = true  
joinMeetingParameters.zak = myzak

param = joinMeetingParameters  
DispatchQueue.main.async {  
let startResponse = meetingService.startMeeting(with: param)//MobileRTCMeetError  
print(“startResponse \n (startResponse)”)  
}

can u please help me out to get solution.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [June 10, 2021, 6:17pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/14 "2021-06-10T18:17:34Z")

</div>

Hey @ramesh,

Is the user you have a ZAK token for a sub-account on your account?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![ramesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ramesh/32/17018_2.png) [@ramesh](https://devforum.zoom.us/u/ramesh)\
**Post date:** [June 11, 2021, 5:07am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/15 "2021-06-11T05:07:04Z")

</div>

@Michael_Condon there is no token for sub-account.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [June 11, 2021, 4:51pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/16 "2021-06-11T16:51:44Z")

</div>

Hey @ramesh,

Let me rephrase. You are getting a ZAK token for a certain user, does that user belong to your Zoom account? If not, Zoom will always ask for a password. You can however, create an OAuth application and then you can start meetings as host without password prompts.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![nagangl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nagangl/32/18433_2.png) [@nagangl](https://devforum.zoom.us/u/nagangl)\
**Post date:** [September 6, 2021, 5:41am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/17 "2021-09-06T05:41:46Z")

</div>

Yes… I got the ZAK token for the sub-account.

---

<div class="post-metadata">

**Author:** ![nagangl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nagangl/32/18433_2.png) [@nagangl](https://devforum.zoom.us/u/nagangl)\
**Post date:** [September 6, 2021, 5:43am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/18 "2021-09-06T05:43:47Z")

</div>

I am getting ZAK token for both primary and sub-accounts. However I am able to host meeting only with the primary account user Id and ZAK token. I am unable to host meeting with secondary user id and ZAK token. I want the user to host meeting with userId and ZAK token from iOS SDK

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 7, 2021, 7:50pm UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/19 "2021-09-07T19:50:45Z")

</div>

Hey @nagangl,

Is the secondary user a sub-account on your Zoom account?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![nagangl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nagangl/32/18433_2.png) [@nagangl](https://devforum.zoom.us/u/nagangl)\
**Post date:** [September 8, 2021, 5:22am UTC](https://devforum.zoom.us/t/join-meeting-as-a-host/28425/20 "2021-09-08T05:22:28Z")

</div>

Yes. This is a secondary zoom account.

[Next page](https://devforum.zoom.us/t/join-meeting-as-a-host/28425.md?page=2)
