Description
We are using the ZOOM REST API to create a meeting, and then try to add registrants to it.
I’ve specified that registration should not be required (approval_type=2), but it still errors with registration is required. If I look into the Zoom User’s dashboard, and see the meeting, then edit its options, I can see that the “Registration Required” checkbox is NOT checked, so I believe registration should not be required…
Please see all the options I’m passing to create a meeting and add a registrant here:
// Create a meeting:
$options = array(
"topic" => $post->post_title,
"agenda" => $post->post_title,
"settings" => array(
"approval_type" => 2,
"waiting_room" => true,
"contant_name" => "Host's name",
"registrants_email_notification" => true,
"meeting_authentication" => false
)
);
_handle_request('POST', "/users/$hostZoomUserId/meetings", $options);
// Add a registrant:
$options = array(
"email" => $user->user_email,
"first_name" => $firstName,
"last_name" => $lastName
);
_handle_request('POST', "/meetings/$meetingId/registrants", $options);
Error
[code] => 404
[message] => Registration has not been enabled for this meeting: 99905455559.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT REST API
Which Endpoint/s?
POST /users/$hostId/meetings
POST /meetings/$meetingId/registrants
How To Reproduce (If applicable)
Run above code.
Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.