I am working on integrating this platform with our SaaS. Currently, we would have approximately 3000 invitees for each meeting that we schedule. Looking at the API, I cannot send an JSON object with Email, Name to the API. I have to call the API 3000x times to invite individual users.
$participants = array(); $participants['email'] = $_POST['invite_email']; $participants['first_name'] = $_POST['invite_user']; $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.zoom.us/v2/meetings/MEETING_ID/registrants", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => json_encode($participants, TRUE), CURLOPT_HTTPHEADER => array( "authorization: Bearer ".$auth, "content-type: application/json" ), ));
In the participants array, I tried adding a key value pair to send multiple invites, but it did not work. Can you point me to a resource on how to invite multiple attendees?