# Zoom API user creation fails

**URL:** <https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945>\
**Category:** API and Webhooks\
**Created:** [November 6, 2023, 2:59pm UTC](https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945 "2023-11-06T14:59:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zguzijan](https://avatars.discourse-cdn.com/v4/letter/z/7ba0ec/32.png) [@zguzijan](https://devforum.zoom.us/u/zguzijan)\
**Post date:** [November 6, 2023, 2:59pm UTC](https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945/1 "2023-11-06T14:59:42Z")

</div>

Hello,

I am trying to create users in Zoom via API. We have a Zoom United Enterprise with US/CA Unlimited Calling plan.

Which means that API’s **“plan\_united\_type”: “1024”** should work, according to the document found here: [Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/userCreate) - User Create.

However, it doesn’t work, it comes back with an error: **“The value provided for plan\_united\_type parameter is invalid. Try again with a valid value.**"

EP:  
{{baseDomain}}/v2/users

REQ:  
{  
“action”: “create”,  
“user\_info”: {  
“email”: “zgtest2@…com”,  
“first\_name”: “Zdan”,  
“last\_name”: “Test2”,  
“display\_name”: “Zdan Test2”,  
“type”: 2,  
“feature”: {  
“zoom\_phone”: true,  
“zoom\_one\_type”: 16  
},  
“plan\_united\_type”: “1024”  
}  
}

RES:  
{  
“code”: 300,  
“message”: “The value provided for plan\_united\_type parameter is invalid. Try again with a valid value.”  
}

This is the base example in the documentation. Is “Zoom United Enterprise with US/CA Unlimited Calling” plan not the right one to have for this… or am I interpreting this wrong?

Thanks! Dan

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 7, 2023, 7:48pm UTC](https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945/2 "2023-11-07T19:48:21Z")

</div>

Hi @zguzijan  
Thanks for reaching out to us, I am happy to help here.  
Have you tried passing the plan\_united\_type: 1 instead of 1024?  
I am not very familiar with the different license options we have but could you confirm if you have a Pro licences or a Bussiness one?

---

<div class="post-metadata">

**Author:** ![zguzijan](https://avatars.discourse-cdn.com/v4/letter/z/7ba0ec/32.png) [@zguzijan](https://devforum.zoom.us/u/zguzijan)\
**Post date:** [November 8, 2023, 1:43pm UTC](https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945/3 "2023-11-08T13:43:21Z")

</div>

Hi Elisa,

thanks for responding to the ticket. As mentioned in the o.p. we have the “Zoom United Enterprise with US/CA Unlimited Calling” license.

I have tried 1 instead of 1024, did not work.

Resorting to trial and error with various combinations I have found that by removing “feature” section from the json, then the call works with 1024.

Of course, I have no idea why it would work or not work, as the original document example includes it and it kinda makes sense.

Thanks.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 9, 2023, 3:06pm UTC](https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945/4 "2023-11-09T15:06:26Z")

</div>

Interesting @zguzijan  
Can you share with me the JSON object you are sending and that it is actually working?  
I am curious to know what’s going on and investigate this further

---

<div class="post-metadata">

**Author:** ![zguzijan](https://avatars.discourse-cdn.com/v4/letter/z/7ba0ec/32.png) [@zguzijan](https://devforum.zoom.us/u/zguzijan)\
**Post date:** [November 9, 2023, 3:41pm UTC](https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945/5 "2023-11-09T15:41:52Z")

</div>

Hi Elise, here are the payloads, request and response respectively.

```auto
{
  "action": "create",
  "user_info": {
    "email": "zgtest2@compassdatacenters.com",
    "first_name": "Zdan",
    "last_name": "Test2",
    "display_name": "Zdan Test2",
    "type": 2,
    "plan_united_type": "1024"
  }
}

```

```auto
{
    "id": "x3pGofqeSka__WZeh_n3Eg",
    "first_name": "Zdan",
    "last_name": "Test2",
    "email": "zgtest2@compassdatacenters.com",
    "type": 2
}

```

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 9, 2023, 8:31pm UTC](https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945/6 "2023-11-09T20:31:02Z")

</div>

Thanks for sharing your findings with me  
@zguzijan

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 15, 2023, 5:29pm UTC](https://devforum.zoom.us/t/zoom-api-user-creation-fails/97945/7 "2023-11-15T17:29:04Z")

</div>

Closed on November 15, 2023, 5:29pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
