# Get Plan usage Api not getting response

**URL:** <https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723>\
**Category:** API and Webhooks\
**Created:** [August 13, 2021, 3:48am UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723 "2021-08-13T03:48:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhirajschavan](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dhirajschavan](https://devforum.zoom.us/u/dhirajschavan)\
**Post date:** [August 13, 2021, 3:48am UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/1 "2021-08-13T03:48:08Z")

</div>

**Description**  
I am using JWT App  
I want data from get plan usage Api -  
[https://api.zoom.us/v2/accounts/{accountId}/plans/usage](https://api.zoom.us/v2/accounts/%7BaccountId%7D/plans/usage)

I provide accountId in but got response as “message”: "Account does not exist

---

<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:** [August 13, 2021, 3:47pm UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/2 "2021-08-13T15:47:19Z")

</div>

Hi @dhirajschavan,

Have you tried passing in ‘me’ in place of the account ID?

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![dhirajschavan](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dhirajschavan](https://devforum.zoom.us/u/dhirajschavan)\
**Post date:** [August 16, 2021, 9:44am UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/3 "2021-08-16T09:44:22Z")

</div>

when I pass “me”, I got response but after passing account ID but it give “message”: "Account does not exist.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [August 18, 2021, 2:47am UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/4 "2021-08-18T02:47:25Z")

</div>

Hey @dhirajschavan,

This is the expected behavior with this API as it is also intended to work with Master Accounts when using JWT and the me route refers to the master account.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![dhirajschavan](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dhirajschavan](https://devforum.zoom.us/u/dhirajschavan)\
**Post date:** [August 20, 2021, 1:08pm UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/5 "2021-08-20T13:08:29Z")

</div>

Thank you for your reply,

My requirement is, I want organization level data from below api not only for me -

a. Get Plan Usage  
b. List billing invouces  
c. Get invoice details  
d. List meetings  
e. List meeting participants  
f. List Webinars  
g. List Webinar participants  
h. Reports  
i. List Users

So How to proceed for it.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [August 23, 2021, 10:26pm UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/6 "2021-08-23T22:26:57Z")

</div>

Hey @dhirajschavan,

I’ll not that those listed APIs all operate differently than the API that are specific to an account. When an API requires an Account ID, it also likely is used in the context of a Master Account which is why you are able to use the /me context with JWT.

Other APIs don’t follow this same pattern. For example, the list users API doesn’t have any include parameters in the URL.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![dhirajschavan](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dhirajschavan](https://devforum.zoom.us/u/dhirajschavan)\
**Post date:** [August 24, 2021, 9:46am UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/7 "2021-08-24T09:46:15Z")

</div>

For List of Invoices -  
/accounts/ **{accountId}** /billing/invoices

accountId is mandatory for all organizational level data, so from where we get accountId for it.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [August 25, 2021, 11:02pm UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/8 "2021-08-25T23:02:48Z")

</div>

If you have a master account you can use the [List Sub Accounts API](https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accounts). Otherwise, you can use the account\_id field from an API like the [Get a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user) to obtain the Account ID.

Let me know if that answers your question.

Max

---

<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:** [September 25, 2021, 9:03am UTC](https://devforum.zoom.us/t/get-plan-usage-api-not-getting-response/55723/9 "2021-09-25T09:03:36Z")

</div>

Closed on September 25, 2021, 9:03am UTC

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