# Code 1105 Creating User under Subaccount

**URL:** <https://devforum.zoom.us/t/code-1105-creating-user-under-subaccount/23780>\
**Category:** API and Webhooks\
**Created:** [July 10, 2020, 1:20pm UTC](https://devforum.zoom.us/t/code-1105-creating-user-under-subaccount/23780 "2020-07-10T13:20:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff\_gebhart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeff_gebhart/32/11714_2.png) [@jeff\_gebhart](https://devforum.zoom.us/u/jeff_gebhart)\
**Post date:** [July 10, 2020, 1:20pm UTC](https://devforum.zoom.us/t/code-1105-creating-user-under-subaccount/23780/1 "2020-07-10T13:20:19Z")

</div>

I am attempting to provision users via the v2 API. I can create users without issue in the main account, but now I’m trying to do the same for some subaccounts.

**Endpoint**  
[https://api.zoom.us/v2/accounts/subaccoundID/users](https://api.zoom.us/v2/accounts/subaccoundID/users)

A “GET” from that path works fine, so my authentication (JWT) is fine, and I can successfully retrieve a list of users. When I do a “POST” however, it returns a 400 with ‘{“code”:1107,“message”:“Domain name doesn’t match, please contact Zoom customer support to set managed domains for your account”}’

The body of the request is pretty straightforward:  
‘{“action”: “ssoCreate”, “user\_info”: {“email”: “[username@domain.com](mailto:username@domain.com)”, “type”: 2, “first\_name”: “John”, “last\_name”: “Doe”}}’

The domain is the same as my main account, so if I understand correctly, that should work with my subaccounts too. There are no associated domains on the subaccount itself. A mass import was done to do the initial population of the subaccount and the accounts are all in the same domain, and users can be manually created in the subaccount with the domain name.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 15, 2020, 9:28pm UTC](https://devforum.zoom.us/t/code-1105-creating-user-under-subaccount/23780/2 "2020-07-15T21:28:41Z")

</div>

Hey @jeff_gebhart,

Can you share the sub account number so I can investigate this?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![jeff\_gebhart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeff_gebhart/32/11714_2.png) [@jeff\_gebhart](https://devforum.zoom.us/u/jeff_gebhart)\
**Post date:** [July 17, 2020, 11:58am UTC](https://devforum.zoom.us/t/code-1105-creating-user-under-subaccount/23780/3 "2020-07-17T11:58:35Z")

</div>

I’ve shared that via an e-mail, ticket is [#6677146]

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 21, 2020, 10:41pm UTC](https://devforum.zoom.us/t/code-1105-creating-user-under-subaccount/23780/4 "2020-07-21T22:41:28Z")

</div>

Thanks @jeff_gebhart,

We will be with you shortly.

-Tommy
