# Meeting's host\_id not getting updated after initial host leaves the meeting

**URL:** <https://devforum.zoom.us/t/meetings-host-id-not-getting-updated-after-initial-host-leaves-the-meeting/4993>\
**Category:** API and Webhooks\
**Created:** [July 12, 2019, 8:49am UTC](https://devforum.zoom.us/t/meetings-host-id-not-getting-updated-after-initial-host-leaves-the-meeting/4993 "2019-07-12T08:49:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yln99518](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yln99518/32/1262_2.png) [@yln99518](https://devforum.zoom.us/u/yln99518)\
**Post date:** [July 12, 2019, 8:49am UTC](https://devforum.zoom.us/t/meetings-host-id-not-getting-updated-after-initial-host-leaves-the-meeting/4993/1 "2019-07-12T08:49:20Z")

</div>

Assume a meeting is going on with two participants - one host and another. Now when I call ‘Retrieve a Meeting’ REST API, it returns the host\_id correctly.  
After sometime, the host leaves the meeting and the remaining participant will become the host for the meeting. Now when I call ‘Retrieve a Meeting’ REST API again, it returns the initial host\_id itself but not the updated host’s ID.

Why is the updated host\_id not getting returned for the meeting?

---

<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:** [July 12, 2019, 9:44pm UTC](https://devforum.zoom.us/t/meetings-host-id-not-getting-updated-after-initial-host-leaves-the-meeting/4993/2 "2019-07-12T21:44:58Z")

</div>

Hi @yln99518,

If someone is an alternate host for the meeting, irrespective of whether the host is present or not in the meeting, the host\_id would be of the primary host.

Thanks

---

<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, 6:33pm UTC](https://devforum.zoom.us/t/meetings-host-id-not-getting-updated-after-initial-host-leaves-the-meeting/4993/3 "2020-08-21T18:33:52Z")

</div>

Closed on August 21, 2020, 6:33pm UTC


