# Zoom API passing parameters in bash

**URL:** <https://devforum.zoom.us/t/zoom-api-passing-parameters-in-bash/91012>\
**Category:** API and Webhooks\
**Created:** [June 28, 2023, 7:26am UTC](https://devforum.zoom.us/t/zoom-api-passing-parameters-in-bash/91012 "2023-06-28T07:26:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalpesh.gohil](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kalpesh.gohil](https://devforum.zoom.us/u/kalpesh.gohil)\
**Post date:** [June 28, 2023, 7:26am UTC](https://devforum.zoom.us/t/zoom-api-passing-parameters-in-bash/91012/1 "2023-06-28T07:26:08Z")

</div>

API Endpoint

> **[Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/dashboardMeetings)**
>
> API Reference for /docs/api/rest/reference/zoom-api/methods

Description  
I am tying to list all the meeting from 2023-06-06 to 2023-06-09 using endpoint

Snippet of my code calling the api in bash

output=$(curl --request GET --header “Authorization: Bearer ${jwt}” [https://api.zoom.us/v2/accounts/${sub\_account}/metrics/meetings?“from=2023-06-06&to=2023-06-09&type=past&page\_size=300”](https://api.zoom.us/v2/accounts/$%7Bsub_account%7D/metrics/meetings?%22from=2023-06-06&to=2023-06-09&type=past&page_size=300%22))

Issue  
Instead getting results from 6th of June to 9th of June, I am getting results from 6th of June to 7th of June.

---

<div class="post-metadata">

**Author:** ![kalpesh.gohil](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@kalpesh.gohil](https://devforum.zoom.us/u/kalpesh.gohil)\
**Post date:** [July 4, 2023, 3:56am UTC](https://devforum.zoom.us/t/zoom-api-passing-parameters-in-bash/91012/2 "2023-07-04T03:56:10Z")

</div>

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
/metrics/meetings

---

<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:** [July 6, 2024, 7:32pm UTC](https://devforum.zoom.us/t/zoom-api-passing-parameters-in-bash/91012/3 "2024-07-06T19:32:41Z")

</div>

Closed on July 6, 2024, 7:32pm UTC

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