# API User Start Meeting

**URL:** <https://devforum.zoom.us/t/api-user-start-meeting/148>\
**Category:** Windows\
**Created:** [January 21, 2017, 6:05pm UTC](https://devforum.zoom.us/t/api-user-start-meeting/148 "2017-01-21T18:05:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Sipple](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@Andrew\_Sipple](https://devforum.zoom.us/u/Andrew_Sipple)\
**Post date:** [January 21, 2017, 6:05pm UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/1 "2017-01-21T18:05:23Z")

</div>

I cloned the git repo for the Windows SDK.

I followed the setup instructions for getting the sdk\_demo project to build.

I dealt with all of the #error sections adding all relevant information including api key and secret.

I have an API account and an API user. I scheduled a meeting for that user in my web app and have the meeting id.

I used the GetUserByEmail to get the userid and token. I put those into the Start Meeting area of the sdk\_demo and uncommented the start api meeting section.

I run the program and hit the SDK/START… menu item.

Nothing happens. None of the menu items seem to do anything.

I click on things like the UI items in the menu and nothing happens.

I am sure I am missing something simple.

&nbsp;

---

<div class="post-metadata">

**Author:** ![dats\_liao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dats_liao/32/464_2.png) [@dats\_liao](https://devforum.zoom.us/u/dats_liao)\
**Post date:** [January 22, 2017, 12:56am UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/2 "2017-01-22T00:56:05Z")

</div>

Hi Andrew,

i think you need to wait the sdk authentication result before you click the “start” menu.

and you can check each API call result “SDKError” to know more about this.

also you can find the work flow about API user to start meeting here.Windows-RTC-Stack/doc/zoom windows sdk.doc

Thanks.

Dats.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Andrew\_Sipple](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@Andrew\_Sipple](https://devforum.zoom.us/u/Andrew_Sipple)\
**Post date:** [January 23, 2017, 2:36pm UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/3 "2017-01-23T14:36:20Z")

</div>

Dats,

Thanks for the response. I will see about waiting for the auth. One question on that. The user is an api user. I create them via the api and don’t give them a password because you can access them or log them in from the normal site anyway.

What do I use for the password if waiting for the auth to sign in? From what I see in the source code using the API start meeting is different than using the normal start meeting.

The api start meeting code was commented out and there was normal start meeting code. I commented out the normal start meeting code and uncommented the api start meeting code.

I am specifically dealing with API users and not normal user. I think this makes it different.

---

<div class="post-metadata">

**Author:** ![dats\_liao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dats_liao/32/464_2.png) [@dats\_liao](https://devforum.zoom.us/u/dats_liao)\
**Post date:** [January 24, 2017, 2:04am UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/4 "2017-01-24T02:04:27Z")

</div>

Andrew,

api user start meeting:

auth sdk-\>waiting auth result-\>if success, start meeting via user id,user token and meeting number(you can get this by REST API)

normal user start meeting:

auth sdk-\>waiting auth result-\>if success, login via work email and psw-\>wait login result-\>if success,start meeting via meeting number.

if you use API user to start meeting, you need to comment out the “login” logic from our demo code.

now our demo is too simple, just tell you how to use our SDK API, work flow is not clearly. sorry for that.&nbsp;

we will refine the demo project to make work flow clearly. thanks.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Nadeem\_Mujahid](https://avatars.discourse-cdn.com/v4/letter/n/91b2a8/32.png) [@Nadeem\_Mujahid](https://devforum.zoom.us/u/Nadeem_Mujahid)\
**Post date:** [February 2, 2017, 8:35pm UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/5 "2017-02-02T20:35:22Z")

</div>

Hi

I am new to SDK can anyone tell me where i have insert&nbsp;key/sec in SDK file to test SDK\_DEMO

---

<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:** [February 2, 2017, 8:56pm UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/6 "2017-02-02T20:56:27Z")

</div>

hi&nbsp;Nadeem,

in the sample,&nbsp;

please try to find inside sdk\_demo.cpp about the following segment:&nbsp;

#error TODO:input your app Key and Secret

ZOOM\_SDK\_NAMESPACE::AuthParam authParam;

authParam.appKey = L"";

authParam.appSecret = L"";

pAuthService-\>SDKAuth(authParam);

you can find your key and secret by using our REST API @&nbsp;[https://zoom.us/developer/api/playground](https://zoom.us/developer/api/playground). you can use user/getbyemail to get credentials.

---

<div class="post-metadata">

**Author:** ![Nadeem\_Mujahid](https://avatars.discourse-cdn.com/v4/letter/n/91b2a8/32.png) [@Nadeem\_Mujahid](https://devforum.zoom.us/u/Nadeem_Mujahid)\
**Post date:** [February 4, 2017, 12:52am UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/7 "2017-02-04T00:52:13Z")

</div>

Hi

i am very new to work with SDK, but learning, I use for authenticating users. i did &nbsp;passing the account app key and secret or by passing the user name and password, i tried both, in both the case i got the following error. .

Severity Code Description Project File Line Suppression State Error (active) #error directive: TODO:input your user name and psw sdk\_demo&nbsp;

what should &nbsp;i do now ! comment one or should i leave one blank i am confused.&nbsp;

&nbsp;

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:** [February 4, 2017, 12:55am UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/8 "2017-02-04T00:55:46Z")

</div>

Hi&nbsp;Nadeem,&nbsp;

you can only select either using email&password or user ID&Token. If you choose to use user ID&Token, you can comment out the line “#!error” and you don’t need to change anything for rest of the code:&nbsp;

for example:

//#error TODO:input your user name and psw ZOOM\_SDK\_NAMESPACE::LoginParam param;

param.userName = L"your user name";

param.password = L"psw";

param.bRememberMe = true;

pAuthService-\>Login(param);

---

<div class="post-metadata">

**Author:** ![Nadeem\_Mujahid](https://avatars.discourse-cdn.com/v4/letter/n/91b2a8/32.png) [@Nadeem\_Mujahid](https://devforum.zoom.us/u/Nadeem_Mujahid)\
**Post date:** [February 4, 2017, 6:03pm UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/9 "2017-02-04T18:03:38Z")

</div>

Hi

&nbsp;

Thanks i have overcome with the error for credential, Now ! i am stack with the following error

#error&nbsp;&nbsp; &nbsp;TODO:input your web domain (it already given [https://zoom.us](https://zoom.us))

or i have to put my own url

&nbsp;

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:** [February 5, 2017, 7:02am UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/10 "2017-02-05T07:02:48Z")

</div>

Hi Nadeem,  
You can comment out the error line. Keep the domain as “[zoom.us](http://zoom.us)”

---

<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, 4:42pm UTC](https://devforum.zoom.us/t/api-user-start-meeting/148/11 "2020-08-21T16:42:30Z")

</div>

Closed on August 21, 2020, 4:42pm UTC


