$zoomUserData = [
‘action’ => ‘autoCreate’,
‘user_info’ => [
‘email’ => $user_details[‘email’],
‘first_name’ => $user_details[‘first_name’],
‘last_name’ => $user_details[‘last_name’],
‘type’ => 2,
‘plan_united_type’=> 1024,
],
];
// Debugging
// print_r($zoomUserData);exit;
$createResponse = $guzzle->post('https://api.zoom.us/v2/users', [
'headers' => [
'Authorization' => 'Bearer ' . $accessToken,
'Content-Type' => 'application/json',
],
'json' => $zoomUserData,
]);
this is my payload but iam not able to create user. Getting failed to create user error. This is an enterprise plan. What should i do?