# Automatic users joining with alternative hosts

**URL:** <https://devforum.zoom.us/t/automatic-users-joining-with-alternative-hosts/103897>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [February 15, 2024, 9:31am UTC](https://devforum.zoom.us/t/automatic-users-joining-with-alternative-hosts/103897 "2024-02-15T09:31:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarah1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sarah1/32/56611_2.png) [@sarah1](https://devforum.zoom.us/u/sarah1)\
**Post date:** [February 15, 2024, 9:31am UTC](https://devforum.zoom.us/t/automatic-users-joining-with-alternative-hosts/103897/1 "2024-02-15T09:31:42Z")

</div>

I am currently facing an issue with automatically joining users to a meeting. I have utilized the Zoom API for creating meetings, specifically the “meetingCreate” API

To address this problem, I have already implemented the “alternative\_hosts” parameter in the request, which functions perfectly according to my requirements. With this setting, users are not automatically joined to the Zoom meeting. However, I have also tried using the “approval\_type” parameter with a value of 0, which is meant to automatically approve registration. Unfortunately, this approach is not working as expected.

I would greatly appreciate it if someone could assist me in resolving this issue.

Here is the complete request parameter in PHP:  
$config = array(  
“topic” =\> “Test Meeting”,  
“type” =\> “2”,  
“start\_time” =\> date(‘Y-m-d H:i:s’),  
“duration” =\> “15”,  
“timezone” =\> “Europe/London”,  
“password” =\> “”,  
“settings” =\> array(  
“host\_video” =\> 1,  
“participant\_video” =\> 1,  
“cn\_meeting” =\> 0,  
“in\_meeting” =\> 1,  
“join\_before\_host” =\> 0,  
“approval\_type” =\> 0,  
“audio” =\> “both”,  
“mute\_upon\_entry” =\> 1,  
“auto\_recording” =\> “cloud”,  
“waiting\_room” =\> 0,  
“alternative\_hosts” =\> “[abc@xyz.com](mailto:abc@xyz.com); [pqr@xyz.com](mailto:pqr@xyz.com)”,  
“alternative\_hosts\_email\_notification” =\> 0,  
“email\_notification” =\> 0,  
“registrants\_email\_notification” =\> 0  
)  
);

Any help or guidance on this matter would be highly appreciated. Thank you in advance.

---

<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:** [February 18, 2025, 1:07am UTC](https://devforum.zoom.us/t/automatic-users-joining-with-alternative-hosts/103897/2 "2025-02-18T01:07:54Z")

</div>

Closed on February 18, 2025, 1:07am UTC

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