# Anyone has a script to query zoom weekly and download audit logs

**URL:** <https://devforum.zoom.us/t/anyone-has-a-script-to-query-zoom-weekly-and-download-audit-logs/11665>\
**Category:** API and Webhooks\
**Created:** [April 6, 2020, 9:34pm UTC](https://devforum.zoom.us/t/anyone-has-a-script-to-query-zoom-weekly-and-download-audit-logs/11665 "2020-04-06T21:34:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttahir](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@ttahir](https://devforum.zoom.us/u/ttahir)\
**Post date:** [April 6, 2020, 9:34pm UTC](https://devforum.zoom.us/t/anyone-has-a-script-to-query-zoom-weekly-and-download-audit-logs/11665/1 "2020-04-06T21:34:19Z")

</div>

**Description**  
Anyone has a script to query zoom weekly and download audit logs

**Error**  
I don’t have any code but a powershell script will be great  
**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
Like an automated schedule logs email for audit logs

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

1. Request URL / Headers (without credentials) / Body
2. See error

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<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:** [April 7, 2020, 6:19am UTC](https://devforum.zoom.us/t/anyone-has-a-script-to-query-zoom-weekly-and-download-audit-logs/11665/2 "2020-04-07T06:19:03Z")

</div>

Hey @ttahir,

You can create a [JWT App](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app), and [generate a JWT Token](https://marketplace.zoom.us/docs/guides/auth/jwt) to call the [dashboard](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings) and [report](https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportdaily) endpoints.

Or you can use our [webhooks](https://marketplace.zoom.us/docs/api-reference/webhook-reference) which gives you data in realtime.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ttahir](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@ttahir](https://devforum.zoom.us/u/ttahir)\
**Post date:** [April 8, 2020, 2:18pm UTC](https://devforum.zoom.us/t/anyone-has-a-script-to-query-zoom-weekly-and-download-audit-logs/11665/3 "2020-04-08T14:18:52Z")

</div>

thank you Tommy for quick response. Is there anyway this can be done with Powershell. I am not a JSON person, so any help will be good

---

<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:** [April 9, 2020, 12:20am UTC](https://devforum.zoom.us/t/anyone-has-a-script-to-query-zoom-weekly-and-download-audit-logs/11665/4 "2020-04-09T00:20:01Z")

</div>

Hey @ttahir,

Yes, you can [make http requests in powershell.](https://stackoverflow.com/questions/13935218/how-to-use-http-get-in-powershell/13935744)

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, 8:22pm UTC](https://devforum.zoom.us/t/anyone-has-a-script-to-query-zoom-weekly-and-download-audit-logs/11665/5 "2020-08-21T20:22:10Z")

</div>

Closed on August 21, 2020, 8:22pm UTC


