# Using the /metrics/meetings with JWT authentication

**URL:** <https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594>\
**Category:** API and Webhooks\
**Created:** [March 12, 2020, 10:28pm UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594 "2020-03-12T22:28:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsl101](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dsl101/32/3526_2.png) [@dsl101](https://devforum.zoom.us/u/dsl101)\
**Post date:** [March 12, 2020, 10:28pm UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594/1 "2020-03-12T22:28:38Z")

</div>

**Description**  
I’ve set up a JWT app and can generate and use tokens to access, for example, `https://api.zoom.us/v2/users`. But when I try to list active meetings at `https://api.zoom.us/v2/metrics/meetings` I get an error. Is it possible to use this API with JWT? (and if not, how is it possible to tell from the API reference pages which can / can’t be used with JWT?)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

```auto
const options = {
  uri: 'https://api.zoom.us/v2/metrics/meetings',
  auth: {
    'bearer': token
  },
  qs: {
    from: '2020-03-01',
    to: '2020-03-31'
  },
  headers: {
    'User-Agent': 'Zoom-Jwt-Request',
    'content-type': 'application/json'
  },
  json: true
}

rp(options).then(result => {
  console.log(result)
}).catch(err => {
  console.error(err.message)
})

```

**Error**  
`400 - {"code":200,"message":"Only available for paid account and enabled Dashboard feature."}`

**Further Information**  
The Dashboard settings (e.g. Dashboard Home Page) seem to be associated with a Role in the account settings interface, but since this is a JWT, I’m not sure how those are connected.

---

<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:** [March 13, 2020, 12:16am UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594/2 "2020-03-13T00:16:36Z")

</div>

Hey @dsl101,

Yes it is possible, however you need a [Business or a higher plan](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings).

You can request a free trial here: [isv@zoom.us](mailto:isv@zoom.us)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dsl101](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dsl101/32/3526_2.png) [@dsl101](https://devforum.zoom.us/u/dsl101)\
**Post date:** [March 13, 2020, 7:51am UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594/3 "2020-03-13T07:51:21Z")

</div>

We are on the Enterprise plan. Is that not big enough?

---

<div class="post-metadata">

**Author:** ![dsl101](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dsl101/32/3526_2.png) [@dsl101](https://devforum.zoom.us/u/dsl101)\
**Post date:** [March 13, 2020, 9:31am UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594/4 "2020-03-13T09:31:24Z")

</div>

Actually, to clarify, we are _now_ on the Enterprise plan. When I created the JWT we were on the Pro plan. Does it need to be recreated, or should it ‘upgrade’ with the plan?

---

<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:** [March 13, 2020, 4:32pm UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594/5 "2020-03-13T16:32:31Z")

</div>

Hey @dsl101,

Ah, that is probably the issue. Can you try regenerating your JWT API Secret and try again?

 ![Screen Shot 2020-03-13 at 10.32.20 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/25a5c57967183b427aa6c7f4f69ef37e5ef21de8.png)

If that does not work, I will have our team reset your JWT App.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dsl101](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dsl101/32/3526_2.png) [@dsl101](https://devforum.zoom.us/u/dsl101)\
**Post date:** [March 13, 2020, 5:49pm UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594/6 "2020-03-13T17:49:51Z")

</div>

I chatted with someone on Live chat this morning. We got disconnected, but very soon after it started working, so I’ve no idea what was wrong, but it’s resolved now :).

Many thanks,

David

---

<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:** [March 13, 2020, 5:51pm UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594/7 "2020-03-13T17:51:54Z")

</div>

Great! Happy to hear it is working now! 🙂

Let me know if you have additional questions.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:30pm UTC](https://devforum.zoom.us/t/using-the-metrics-meetings-with-jwt-authentication/8594/8 "2020-08-21T19:30:58Z")

</div>

Closed on August 21, 2020, 7:30pm UTC


