# When sub account is created via api, account number is returned as 0

**URL:** <https://devforum.zoom.us/t/when-sub-account-is-created-via-api-account-number-is-returned-as-0/24290>\
**Category:** API and Webhooks\
**Created:** [July 16, 2020, 10:17am UTC](https://devforum.zoom.us/t/when-sub-account-is-created-via-api-account-number-is-returned-as-0/24290 "2020-07-16T10:17:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gera\_vishal](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@gera\_vishal](https://devforum.zoom.us/u/gera_vishal)\
**Post date:** [July 16, 2020, 10:17am UTC](https://devforum.zoom.us/t/when-sub-account-is-created-via-api-account-number-is-returned-as-0/24290/1 "2020-07-16T10:17:50Z")

</div>

I am using an ISV account to create further sub accounts via api using JWT as authorization. Sub account creation is successful but account number is returned as 0. I tried get account api as well. It also returns account number as 0. Even though, when i login in a sub account, i can see the account number over there. Is this the expected behavior?

---

<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, 6:33pm UTC](https://devforum.zoom.us/t/when-sub-account-is-created-via-api-account-number-is-returned-as-0/24290/2 "2020-07-21T18:33:33Z")

</div>

Hey @gera_vishal,

That is strange! Can you share the sub account number so we can debug the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tvermacvent](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@tvermacvent](https://devforum.zoom.us/u/tvermacvent)\
**Post date:** [September 4, 2020, 11:49am UTC](https://devforum.zoom.us/t/when-sub-account-is-created-via-api-account-number-is-returned-as-0/24290/3 "2020-09-04T11:49:48Z")

</div>

@tommy - We’ve removed the sub-account concept from our implementation. This request can now be closed

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 8, 2020, 9:32pm UTC](https://devforum.zoom.us/t/when-sub-account-is-created-via-api-account-number-is-returned-as-0/24290/4 "2020-09-08T21:32:13Z")

</div>

Hey @tvermacvent,

Thanks for letting us know—best of luck, and let us know if anything changes.

Best,  
Will
