# New account is not creating with https://api.zoom.us/v2/users api

**URL:** <https://devforum.zoom.us/t/new-account-is-not-creating-with-https-api-zoom-us-v2-users-api/116209>\
**Category:** Users and Groups\
**Created:** [August 23, 2024, 6:07am UTC](https://devforum.zoom.us/t/new-account-is-not-creating-with-https-api-zoom-us-v2-users-api/116209 "2024-08-23T06:07:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noreplyetestamur](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@noreplyetestamur](https://devforum.zoom.us/u/noreplyetestamur)\
**Post date:** [August 23, 2024, 6:07am UTC](https://devforum.zoom.us/t/new-account-is-not-creating-with-https-api-zoom-us-v2-users-api/116209/1 "2024-08-23T06:07:35Z")

</div>

$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?
