# Need to retrieve automated metrics on a monthly basis

**URL:** <https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801>\
**Category:** API and Webhooks\
**Created:** [January 30, 2020, 5:24pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801 "2020-01-30T17:24:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dparsons](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dparsons/32/3088_2.png) [@dparsons](https://devforum.zoom.us/u/dparsons)\
**Post date:** [January 30, 2020, 5:24pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/1 "2020-01-30T17:24:36Z")

</div>

**Description**  
We’re looking at leveraging the API to retrieve monthly metrics. Other than the daily report and a couple of high level metrics, all of the other calls require specific parameters to run. For example ‘GET  
/metrics/meetings/{meetingId}’ requires a specific meetingID specified. However we want to retrieve meeting details for ALL meetings on a weekly or monthly basis, not one specific meeting. Additionally many of the metrics require a date range to be specified, but we’d like it to run monthly and automatically retrieve the last months worth of data, without having to specify a date range every month. Is this possible? If so how would we go about this?

---

<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:** [January 30, 2020, 5:58pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/2 "2020-01-30T17:58:50Z")

</div>

Hey @dparsons, thanks for posting and using Zoom!

Your best bet is to use the [GET metrics/meetings endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings). This returns all the meetings in the past 6 months, one month at a time.

You can specify the date range programmatically by taking todays date and setting that as the `to` date, and setting the `from` date to a month from the `to` date.

Also, depending on what data you need, you could also utilize the [Meeting Webhooks](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-ending), which send data to your server in real time.

Let me know if that helps! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dparsons](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dparsons/32/3088_2.png) [@dparsons](https://devforum.zoom.us/u/dparsons)\
**Post date:** [January 30, 2020, 8:42pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/3 "2020-01-30T20:42:36Z")

</div>

Hi @tommy, thanks for the response.

We did look at using GET metrics/meetings endpoint, but it still requires specifying a date range to pull the last months worth of data. I was hoping it would have a way to default the last month worth of data so this didn’t have to be specified.

---

<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:** [January 30, 2020, 9:28pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/4 "2020-01-30T21:28:57Z")

</div>

Hey @dparsons,

The GET /metrics/meetings endpoint is your best bet.

May I ask how you are calling it? With code or a tool?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dparsons](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dparsons/32/3088_2.png) [@dparsons](https://devforum.zoom.us/u/dparsons)\
**Post date:** [January 31, 2020, 12:23pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/5 "2020-01-31T12:23:00Z")

</div>

Hi @tommy,

We have been testing using Zoho Analytics to pull in the data.

---

<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:** [January 31, 2020, 8:42pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/6 "2020-01-31T20:42:55Z")

</div>

Hey @dparsons,

There are a few ways you could accomplish this. You could setup your own server that your Zoho calls and in your code on your server you can programmatically update the date query params and then call the Zoom API.

This would take some development work. Do you have developers on your team?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dparsons](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dparsons/32/3088_2.png) [@dparsons](https://devforum.zoom.us/u/dparsons)\
**Post date:** [February 4, 2020, 2:35pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/7 "2020-02-04T14:35:05Z")

</div>

Hi @tommy,

We had discussed setting up our own web service for this purpose, I was just hoping we could do it without that step.

Thanks for all of your assistance!

---

<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:** [February 4, 2020, 5:29pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/8 "2020-02-04T17:29:51Z")

</div>

Hey @dparsons, happy to help!

Yes, as of now, your own web service would be best for this!

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:14pm UTC](https://devforum.zoom.us/t/need-to-retrieve-automated-metrics-on-a-monthly-basis/7801/9 "2020-08-21T19:14:03Z")

</div>

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


