# Update Zoom desktop host - General and Audio\\Video settings

**URL:** <https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112>\
**Category:** Meeting SDK\
**Created:** [May 16, 2024, 2:15pm UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112 "2024-05-16T14:15:01Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![praveen.selvaraj](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveen.selvaraj](https://devforum.zoom.us/u/praveen.selvaraj)\
**Post date:** [May 16, 2024, 2:15pm UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/1 "2024-05-16T14:15:02Z")

</div>

Use case : Use SDK to Update host user zoom settings from SDK  
I am planning to create and run a Windows app in the host computer and use it update zoom desktop client settings (General,Audio,Video).  
How we can achieve this ? Can I join the meeting from SDK and update the Host Setting?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 23, 2024, 4:26am UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/2 "2024-05-23T04:26:48Z")

</div>

@praveen.selvaraj if the SDK is starting the meeting as host, the SDK will have the authority to grant other participants host / co-host status

---

<div class="post-metadata">

**Author:** ![praveen.selvaraj](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveen.selvaraj](https://devforum.zoom.us/u/praveen.selvaraj)\
**Post date:** [June 3, 2024, 6:39pm UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/3 "2024-06-03T18:39:32Z")

</div>

@chunsiong.zoom Thanks for your response . I need help in starting a meeting as host. I am using Zoom SDK with C# wrapper(6.04) . Things i did so far

- Created Meeting SDK APP
- Used credential to generate JWT token and authenticated
- authenticated host user and got access token(oAuth)
- used access token and tried to start the meeting , but it instead of starting it try to join the meeting with message waiting for host  
Not sure what is wrong in my flow ? Is it related to Scope ? I am admin pro user but cant see option to choose read :admin role . Please share some insight  
Alternatively instead of OAuth can use email \Password to start the meeting as host ?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 4, 2024, 6:14am UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/4 "2024-06-04T06:14:08Z")

</div>

@praveen.selvaraj you will need the host’s ZAK token to start the meeting.

On the Zoom C# SDK, make sure you put in the ZAK token in the parameters, and use the Start Meeting instead of Join Meeting function.

---

<div class="post-metadata">

**Author:** ![praveen.selvaraj](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveen.selvaraj](https://devforum.zoom.us/u/praveen.selvaraj)\
**Post date:** [June 4, 2024, 2:47pm UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/5 "2024-06-04T14:47:35Z")

</div>

@chunsiong.zoom Thank you , looks i have missed the last step to get host user access token from the access token using [https://api.zoom.us/v2/users/me/token?type=zak](https://api.zoom.us/v2/users/me/token?type=zak).  
Now I am getting “Invalid access token, does not contain scopes:[user:read:token, user:read:token:admin].” as reponse .FYI I am Pro user and admin but not owner. Let me know how to get this roles ?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 5, 2024, 2:24am UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/6 "2024-06-05T02:24:45Z")

</div>

@praveen.selvaraj have you taken a look at the scope on whichever app you are working with ?

It could be general app, oauth app, or server to server oauth app. There should be a scope section which will allow you to choose the relevant scope

---

<div class="post-metadata">

**Author:** ![praveen.selvaraj](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveen.selvaraj](https://devforum.zoom.us/u/praveen.selvaraj)\
**Post date:** [June 5, 2024, 1:30pm UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/7 "2024-06-05T13:30:50Z")

</div>

@chunsiong.zoom still when i start the meeting from C# SDK,it try to join the by saying “waiting for host” instead of starting. I have below scope added while creating meeting SDK App which was also confirmed using the ZOOM api([https://zoom.us/oauth/token](https://zoom.us/oauth/token))

"user:read:user user:update:user user:read:list\_assistants user:read:token user:read:zak user:read:list\_permissions user:read:list\_schedulers user:read:email user:read:pm\_room user:read:settings user:update:settings user:read:list\_collaboration\_devices user:read:collaboration\_device meeting:read:list\_meetings meeting:read:meeting meeting:read:invitation meeting:read:device role:read:role role:delete:role role:read:list\_roles role:delete:member role:read:list\_members

Below is the SDK code to start the meeting (but it always try to join)  
RegisterCallBack();  
ZOOM\_SDK\_DOTNET\_WRAP.StartParam param = new ZOOM\_SDK\_DOTNET\_WRAP.StartParam();  
param.userType = ZOOM\_SDK\_DOTNET\_WRAP.SDKUserType.SDK\_UT\_WITHOUT\_LOGIN;  
ZOOM\_SDK\_DOTNET\_WRAP.StartParam4WithoutLogin start\_withoutlogin\_param = new ZOOM\_SDK\_DOTNET\_WRAP.StartParam4WithoutLogin();  
start\_withoutlogin\_param.meetingNumber = UInt64.Parse(textBox\_meetingnumber\_api.Text);  
start\_withoutlogin\_param.userZAK = “xxxxxx”;//zoom host user access token here;  
start\_withoutlogin\_param.userName = textBox\_username\_api.Text;  
start\_withoutlogin\_param.zoomuserType = ZOOM\_SDK\_DOTNET\_WRAP.ZoomUserType.ZoomUserType\_APIUSER;  
param.withoutloginStart = start\_withoutlogin\_param;

ZOOM\_SDK\_DOTNET\_WRAP.SDKError err = ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Start(param);  
if (ZOOM\_SDK\_DOTNET\_WRAP.SDKError.SDKERR\_SUCCESS == err)  
{  
Hide();  
}  
else//error handle  
{  
MessageBox.Show(err.ToString());  
}

Let me know what I am missing ? Your help is much appreciated

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 6, 2024, 6:36am UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/8 "2024-06-06T06:36:14Z")

</div>

@praveen.selvaraj could you elaborate a little more?

I’ve just tried the latest C# Windows SDK, and managed to start a meeting with user’s ZAK token and Meeting Number. It is started as host as well.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/8/5877e7e99b1065603aaf17d9b02a8725e9b58f41.png)

---

<div class="post-metadata">

**Author:** ![praveen.selvaraj](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveen.selvaraj](https://devforum.zoom.us/u/praveen.selvaraj)\
**Post date:** [June 7, 2024, 12:51pm UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/9 "2024-06-07T12:51:14Z")

</div>

@chunsiong.zoom After updating to latest SDK(6.0.11) it works as expected. Does authorization code generated after Scope acceptance also has expiry ? looks it also need to regenerated often . can you share some insight or a link I can read some information.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 10, 2024, 4:01am UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/10 "2024-06-10T04:01:16Z")

</div>

@praveen.selvaraj the authorization code can only be use once, and thereafter it will be invalidated.

The intention is to use refresh token to get new access token.

---

<div class="post-metadata">

**Author:** ![praveen.selvaraj](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveen.selvaraj](https://devforum.zoom.us/u/praveen.selvaraj)\
**Post date:** [July 24, 2024, 4:47pm UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/11 "2024-07-24T16:47:03Z")

</div>

Thanks @chunsiong.zoom and sorry for late response . I am developing an app and I need to allow multiple zoom users to start their meeting as host. So How I can go around the manual authorization for each user ? I assume refresh token also cant be used once the session is closed (app exit) ,It means i need to get new authorization(Manual) every time the app is launched ?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 25, 2024, 4:01am UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/12 "2024-07-25T04:01:26Z")

</div>

@praveen.selvaraj the refresh token is valid for 90 days. You can use the refresh token to get the host’s ZAK token within this 90 days, and the new refresh token will have a validity of another 90 days

---

<div class="post-metadata">

**Author:** ![praveen.selvaraj](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveen.selvaraj](https://devforum.zoom.us/u/praveen.selvaraj)\
**Post date:** [July 29, 2024, 3:48pm UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/13 "2024-07-29T15:48:35Z")

</div>

Thanks @chunsiong.zoom . This conversation can be closed.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 30, 2024, 2:33am UTC](https://devforum.zoom.us/t/update-zoom-desktop-host-general-and-audio-video-settings/110112/14 "2024-07-30T02:33:38Z")

</div>

Closed on July 30, 2024, 2:33am UTC


