Description
Im using the Zoom API to send invitation to be part of my users, using the function CreateUser and works good, I noticed when you change the language directly on the site, and manually add a user, the invitation also goes in the language of the site, so I want to know if I can use the API to send the invitation but in any other language
Error
No error
Which App Type (OAuth / Chatbot / JWT / Webhook)?
Im using JWT app and the endpoint
"https://api.zoom.us/v2/users (action: create)
public function create_zoom_user($correo,$nombre,$apellido){
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.zoom.us/v2/users",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_SSL_VERIFYHOST => 0,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\"action\":\"create\",\"user_info\":{\"email\":\"$correo\",\"type\":2,\"first_name\":\"$nombre\",\"last_name\":\"$apellido\"},\"feature\":{\"large_meeting\":true,\"large_meeting_capacity\":500,\"webinar\":true,\"webinar_capacity\":500}}",
CURLOPT_HTTPHEADER => array(
"authorization: Bearer token",
"content-type: application/json"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
Im using PHP