# Can I automatically switch hosts through the API?

**URL:** <https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736>\
**Category:** API and Webhooks\
**Created:** [September 21, 2018, 2:24am UTC](https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736 "2018-09-21T02:24:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![11110](https://avatars.discourse-cdn.com/v4/letter/1/e19adc/32.png) [@11110](https://devforum.zoom.us/u/11110)\
**Post date:** [September 21, 2018, 2:24am UTC](https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736/1 "2018-09-21T02:24:21Z")

</div>

HI&nbsp;Michael:

I create a meeting with&nbsp;host：[hugo\_he@intretech.com](mailto:hugo_he@intretech.com)&nbsp;of type 2，

Now I’d like to&nbsp;change the&nbsp;host&nbsp;to&nbsp;[nancy\_wu@intretech.com](mailto:nancy_wu@intretech.com)&nbsp;of&nbsp;type 1，

question1:Can I automatically switch hosts through the API，

question2:Or set the user&nbsp;of&nbsp;type 1&nbsp;as the alternative\_hosts when&nbsp;I&nbsp;create the meeting.

Looking forward to your reply.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 21, 2018, 10:36pm UTC](https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736/2 "2018-09-21T22:36:50Z")

</div>

Hello,&nbsp;

Unfortunately, you’re not able to switch host via API but you can set an alternative host. Please refer to our API doc -&nbsp;[https://devdocs.zoom.us/api-reference/zoom-api/meetings/meetingcreate.&nbsp;](https://devdocs.zoom.us/api-reference/zoom-api/meetings/meetingcreate.%C2%A0)

Thanks

&nbsp;

---

<div class="post-metadata">

**Author:** ![11110](https://avatars.discourse-cdn.com/v4/letter/1/e19adc/32.png) [@11110](https://devforum.zoom.us/u/11110)\
**Post date:** [September 23, 2018, 1:12pm UTC](https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736/3 "2018-09-23T13:12:26Z")

</div>

HI&nbsp;Michael:

when i use api:[https://api.zoom.us/v2/users/hugo\_he@intretech.com/meetings](https://api.zoom.us/v2/users/hugo_he@intretech.com/meetings) with json:

{  
“topic”: “test meeting”,  
“type”: 2,  
“start\_time”: “2018-09-21T09:00:00Z”,  
“duration”: 60,  
“timezone”: “Asia/Shanghai”,  
“agenda”: “”,  
“password”: “123456”,  
“settings”: {  
“host\_video”: false,  
“participant\_video”: false,  
“cn\_meeting”: true,  
“in\_meeting”: false,  
“join\_before\_host”: true,  
“mute\_upon\_entry”: false,  
“watermark”: false,  
“use\_pmi”: false,  
“approval\_type”: 2,  
“audio”: “both”,  
“auto\_recording”: “none”,  
“enforce\_login”: true,  
“enforce\_login\_domains”: “”,  
“alternative\_hosts”: “[nancy\_wu@intretech.com](mailto:nancy_wu@intretech.com)”  
}  
}

the response is:

{  
“code”: 1115,  
“message”: “[nancy\_wu@intretech.com](mailto:nancy_wu@intretech.com) not a paying customer”  
}

Because I’m a paying customer, but nancy is not，but&nbsp;&nbsp;I was going to create the meeting for more than 60 minutes, and nacy&nbsp;should became the host.Because we only have 10 paying customers but there are a lot of free users, and they all need to host the meeting&nbsp;for more than 60 minutes。

So&nbsp;How do I turn free users into hosts？

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 24, 2018, 4:27pm UTC](https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736/4 "2018-09-24T16:27:17Z")

</div>

Hello,&nbsp;

Unfortunately, through our API you are not able to turn free users into host. You will need to contact our sales or support team to see if they can enable that request for your account.&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![11110](https://avatars.discourse-cdn.com/v4/letter/1/e19adc/32.png) [@11110](https://devforum.zoom.us/u/11110)\
**Post date:** [September 25, 2018, 5:35am UTC](https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736/5 "2018-09-25T05:35:43Z")

</div>

HI&nbsp;Michael:

Can we turn free users into paying users through the API？

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 27, 2018, 10:30pm UTC](https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736/6 "2018-09-27T22:30:57Z")

</div>

Hi,

You can turn Free users into paid user using&nbsp;[https://devdocs.zoom.us/api-reference/zoom-api/users/userupdate](https://devdocs.zoom.us/api-reference/zoom-api/users/userupdate). However, for each user you will need to have a license available.&nbsp;

---

<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:55pm UTC](https://devforum.zoom.us/t/can-i-automatically-switch-hosts-through-the-api/1736/7 "2020-08-21T17:55:35Z")

</div>

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


