Automatic users joining with alternative hosts

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; 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.