# ZOOM SDK C# Wrapper start meeting without log in

**URL:** <https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546>\
**Category:** Windows\
**Created:** [April 21, 2021, 6:50pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546 "2021-04-21T18:50:41Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.orozco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/daniel.orozco/32/17364_2.png) [@daniel.orozco](https://devforum.zoom.us/u/daniel.orozco)\
**Post date:** [April 21, 2021, 6:50pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/1 "2021-04-21T18:50:41Z")

</div>

Hi, I am trying to implement the meeting start without login with the GetMeetingServiceWrap().Start method included in the zoom SDK C # wrapper 5.4.54802.0124, my application manages to successfully initialize the SDK and authenticate through GetAuthServiceWrap().SDKAuth, then when I call the Start method it returns SDKERR\_SUCCESS and the OnMeetingStatusChanged event is triggered with the status MEETING\_STATUS\_CONNECTING, but it never reaches the MEETING\_STATUS\_INMEETING state, it stays connecting, it doesn’t initiate the call and it doesn’t return any error either, below the code used to start the method, I validated the UserZAK with the apis and it works correctly.

Do I need something else in order to make the method work?

RegisterMeetingCallBacks();  
ZOOM\_SDK\_DOTNET\_WRAP.StartParam4WithoutLogin prm = new StartParam4WithoutLogin();

ulong meeting = 0000000000000;  
prm.meetingNumber = meeting;  
prm.vanityID = null;  
prm.userName = “Name”;  
prm.userID = “XXXXXXXXXX”;  
prm.userZAK = “XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”;  
prm.participantId = null;  
prm.isDirectShareDesktop = false;  
prm.isVideoOff = false;  
prm.isAudioOff = false;  
prm.zoomuserType = ZoomUserType.ZoomUserType\_APIUSER;  
ZOOM\_SDK\_DOTNET\_WRAP.StartParam startParam = new StartParam();  
ZOOM\_SDK\_DOTNET\_WRAP.StartParam4WithoutLogin withoutLogin = new StartParam4WithoutLogin();  
startParam.withoutloginStart = prm;  
startParam.userType = SDKUserType.SDK\_UT\_WITHOUT\_LOGIN;

ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Start(startParam);

---

<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:** [April 21, 2021, 11:15pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/2 "2021-04-21T23:15:56Z")

</div>

Hey @daniel.orozco,

Thanks for using the dev forum!

Is the user that is trying to start the meeting the host of the meeting?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![daniel.orozco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/daniel.orozco/32/17364_2.png) [@daniel.orozco](https://devforum.zoom.us/u/daniel.orozco)\
**Post date:** [April 22, 2021, 2:46am UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/3 "2021-04-22T02:46:22Z")

</div>

Hi, yes, the user is the host of the meeting.

---

<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:** [April 22, 2021, 8:30pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/4 "2021-04-22T20:30:13Z")

</div>

Hey @daniel.orozco,

For troubleshooting purposes can you try starting/joining a meeting in your environment without using a ZAK to see if the ZAK token is somehow causing issues in the SDK itself?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![daniel.orozco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/daniel.orozco/32/17364_2.png) [@daniel.orozco](https://devforum.zoom.us/u/daniel.orozco)\
**Post date:** [April 23, 2021, 2:39pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/5 "2021-04-23T14:39:37Z")

</div>

Hi Michael, when I start or join a meeting with a normal user (User & Password) my app works fine, on the other hand, I’m shure that the ZAK is genereted correctly because I’m able to start the Demo Wrapper with it and also works fine. I don’t know where is the bug in my develop. Thank you for the time and help.

---

<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:** [April 23, 2021, 10:09pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/6 "2021-04-23T22:09:56Z")

</div>

Hey @daniel.orozco,

Can you give this code a shot:

```
        ZOOM_SDK_DOTNET_WRAP.StartParam startParam = new ZOOM_SDK_DOTNET_WRAP.StartParam();
        startParam.userType = ZOOM_SDK_DOTNET_WRAP.SDKUserType.SDK_UT_WITHOUT_LOGIN;

        ZOOM_SDK_DOTNET_WRAP.StartParam4WithoutLogin RestAPIUserStartParam = (StartParam4WithoutLogin)startParam.withoutloginStart;
        RestAPIUserStartParam.userID = "userID";
        RestAPIUserStartParam.userZAK = "zak";
        RestAPIUserStartParam.userName = "displayname";
        RestAPIUserStartParam.zoomuserType = ZOOM_SDK_DOTNET_WRAP.ZoomUserType.ZoomUserType_APIUSER;
        RestAPIUserStartParam.meetingNumber = 00000;
        ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Start(startParam);

```

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![daniel.orozco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/daniel.orozco/32/17364_2.png) [@daniel.orozco](https://devforum.zoom.us/u/daniel.orozco)\
**Post date:** [April 26, 2021, 2:38pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/7 "2021-04-26T14:38:03Z")

</div>

hi Michael, I tried the code you provided and the result was as follows:

1. In my custom C# Wrapper it always stays in the MEETING\_STATUS\_CONNECTING state and never progresses from there.
2. I tested the code in the Default Demo C# Wrapper 5.5.12509.0330 and it works there, but before starting the call, it popped up a window to request the meeting password (attached image).  
Could you tell me please where to find the code (C ++) of this alternate window to verify what methods uses and find how to implement it on the side of our custom C # Wrapper.  
Thank you for your time and help.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/4/34b50bc5bd0374ba4aa6baf92ef714cf33ee14b7.png)

---

<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:** [April 27, 2021, 7:12pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/8 "2021-04-27T19:12:25Z")

</div>

Hey @daniel.orozco,

The “Enter meeting passcode” window is presented by the SDK itself and is not present in the demo application source code. However, if the user is the host of a meeting and the ZAK token is valid, the user should not be prompted for a password.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![daniel.orozco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/daniel.orozco/32/17364_2.png) [@daniel.orozco](https://devforum.zoom.us/u/daniel.orozco)\
**Post date:** [April 27, 2021, 9:08pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/9 "2021-04-27T21:08:17Z")

</div>

Hi Michael, I understand, the error may be in the generation of the ZAK, with the understanding that the host’s email is a google based account added to the main payment account,  
I describe my procedure:

1. I initialize the SDK successfully with the following parameters:  
ZOOM\_SDK\_DOTNET\_WRAP.InitParam param = new ZOOM\_SDK\_DOTNET\_WRAP.InitParam ();  
ConfigurableOptions opt = new ConfigurableOptions ();  
param.web\_domain = “[https://zoom.us](https://zoom.us)”;  
opt.optionalFeatures = 1 \>\> 5;

2. I authenticate the application with a JWT created based on the APP\_Key and Secret obtained from the main account (SDK APP).

3. I use the EndPoint “[https://api.zoom.us/v2/users/me/zak](https://api.zoom.us/v2/users/me/zak)” with APP\_Key and Secret of the main account (JWT APP) to obtain the ZAK,  
if I send the EndPoint “[https://api.zoom.us/v2/users/HostEmail/zak](https://api.zoom.us/v2/users/HostEmail/zak)” it returns NULL. If I use the generated ZAK (Me) in the EndPoint  
“[https://api.zoom.us/v2/users/HostEmail](https://api.zoom.us/v2/users/HostEmail)” it does returns the Host information to me. That’s why I assumed it was correct,  
but at the moment the host (account added) start the meeting, it remains in the MEETING\_STATUS\_CONNECTING state.

Could you please tell me if there is something wrong with my procedure?

Thank you very 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:** [April 29, 2021, 6:42pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/10 "2021-04-29T18:42:54Z")

</div>

Hey @daniel.orozco,

Can you set type=zak in your api call to obtain the ZAK and try again?

> **[Authentication - Client SDKs - Zoom Software Development Kit (Zoom SDK)](https://marketplace.zoom.us/docs/sdk/native-sdks/auth#request-users-zak)**
>
> Authentication
> 
> 
> 
> Zoom Client SDK apps authenticate with Zoom through a pair of access credentials, SDK Key and SDK Secret, which are signed and communi...

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [April 29, 2021, 6:44pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/11 "2021-04-29T18:44:06Z")

</div>

Hi @daniel.orozco ,

Happy to help.

You would need to use this endpoint to generate the zak token:  
[https://api.zoom.us/v2/users/userID/token?type=zak](https://api.zoom.us/v2/users/userID/token?type=zak)

It seems you are currently generating a user token

Here is a sample C# code to generate the zak token:

var client = new RestClient(“[https://api.zoom.us/v2/users/userID/token?type=zak](https://api.zoom.us/v2/users/userID/token?type=zak)”);  
var request = new RestRequest(Method.GET);  
request.AddHeader(“authorization”, "Bearer ");  
IRestResponse response = client.Execute(request);

---

<div class="post-metadata">

**Author:** ![tushars](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tushars/32/25511_2.png) [@tushars](https://devforum.zoom.us/u/tushars)\
**Post date:** [May 20, 2021, 3:23pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/12 "2021-05-20T15:23:16Z")

</div>

Hello @ojus.zoom ,  
1.Here is a sample C# code to generate the zak token:

var client = new RestClient(“[https://api.zoom.us/v2/users/userID/token?type=zak](https://api.zoom.us/v2/users/userID/token?type=zak)”);  
var request = new RestRequest(Method.GET);  
request.AddHeader(“authorization”, "Bearer ");  
IRestResponse response = client.Execute(request);  
--------+

This will generate zak token only have to pass userid right?

-----++++++

1. 

Actually I have created meeting (Jwt app type - using Api )and join meeting inside my xamarin app (using xamarin.ios.zoom sdk) But I have not authorised the host so to authorise host is there any method which avoids login for Authorization?  
For the host the meeting should start inside my app for now I have to start it externally.

---

<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:** [May 20, 2021, 3:26pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/13 "2021-05-20T15:26:32Z")

</div>

Hey @tushars,

Is the user you are creating a Zak token for on your account?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![tushars](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tushars/32/25511_2.png) [@tushars](https://devforum.zoom.us/u/tushars)\
**Post date:** [May 20, 2021, 3:47pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/15 "2021-05-20T15:47:13Z")

</div>

It’s for my account.Further I need it for different accounts.

---

<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:** [May 21, 2021, 6:26pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/16 "2021-05-21T18:26:48Z")

</div>

Hey @tushars,

If the user has permission to start the meeting and is on your account, a ZAK token can be used to start the meeting without that user having to log in. If they do not belong to your account you will have to create an OAuth app.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![tushars](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tushars/32/25511_2.png) [@tushars](https://devforum.zoom.us/u/tushars)\
**Post date:** [May 21, 2021, 8:20pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/17 "2021-05-21T20:20:10Z")

</div>

Thanks for the your important information.  
I have 2 more doubts

1. Can I make multiple users as host for single master account for example :  
tushars@techpro.co.in - master account  
User 1 - xyz@techpro.co.in  
User 2 - abc@techpro.co.in  
these two are the host for the above master account so using the same app and secret key of master account could user1&2 create and join meeting.For such scenario which version of account required pro or buisness or enterprise.

2. Oauth app type - Using oauth whether I should create meeting in iOS and Android.

Thanks in advance.

---

<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:** [May 24, 2021, 7:15pm UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/18 "2021-05-24T19:15:43Z")

</div>

Hey @tushars,

Hmm, I am not too sure about these two questions. However, the people over at #api-and-webhooks should be able to answer these 🙂

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 24, 2021, 5:16am UTC](https://devforum.zoom.us/t/zoom-sdk-c-wrapper-start-meeting-without-log-in/48546/19 "2021-06-24T05:16:31Z")

</div>

Closed on June 24, 2021, 5:16am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
