# Query parameter problem with '/metrics/meetings/{meetingId}/participants' endpoint

**URL:** <https://devforum.zoom.us/t/query-parameter-problem-with-metrics-meetings-meetingid-participants-endpoint/101982>\
**Category:** Meetings\
**Tags:** api\
**Created:** [January 17, 2024, 7:45am UTC](https://devforum.zoom.us/t/query-parameter-problem-with-metrics-meetings-meetingid-participants-endpoint/101982 "2024-01-17T07:45:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasonY](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jasony/32/55287_2.png) [@JasonY](https://devforum.zoom.us/u/JasonY)\
**Post date:** [January 17, 2024, 7:45am UTC](https://devforum.zoom.us/t/query-parameter-problem-with-metrics-meetings-meetingid-participants-endpoint/101982/1 "2024-01-17T07:45:49Z")

</div>

> [**Urgent**] Posting this after finding all the related posts with ‘API and Webhooks’, ‘Meetings’ category and ‘api’ tag

**API Endpoint(s) and/or Zoom API Event(s)**

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

**Description of background of problem**  
I’m working on building an attendance app using business account.  
I needed some participants lists with join and leaving time during a specific period  
And for the test, I set request from the client with query parameter like this:  
…/metrics/meetings/{meetingId}/participants?type=past&from=from=2024-01-11&to=2024-01-16.

**Problem(not working as I expedted)**  
But I got only one recent meeting participants data without ‘from’ and ‘to’ properties, **which means that ‘from’ and ‘to’ query parameters didn’t work.**

So I checked the API docs again and I’ve found something awkward thing.  
Here is the one.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/5/e59f483684366c2c8860e27c6d292da496827412.png)  
In the page which I put with link, it said with this API I could use ‘from’ and ‘to’ query parameters.

However, there is no specific description about how to use those query parameters.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/b/ebcf8808dd6bc6ea945b8fb584545ab3f482a6b3.png)

**Question**  
So here is my question.

Can I use ‘from’ and ‘to’ query parameter, or not?  
If I can, how can I use?  
If I can’t, is there another option to get participants lists with join and leaving time during a specific period?

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [January 25, 2024, 10:03pm UTC](https://devforum.zoom.us/t/query-parameter-problem-with-metrics-meetings-meetingid-participants-endpoint/101982/2 "2024-01-25T22:03:42Z")

</div>

It seems you might be making a mistake in your request:  
`&from=from=2024-01-11` , remove the duplicate from and I think it should work

---

<div class="post-metadata">

**Author:** ![JasonY](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jasony/32/55287_2.png) [@JasonY](https://devforum.zoom.us/u/JasonY)\
**Post date:** [January 26, 2024, 8:51am UTC](https://devforum.zoom.us/t/query-parameter-problem-with-metrics-meetings-meetingid-participants-endpoint/101982/3 "2024-01-26T08:51:42Z")

</div>

It was my mistake when writing down the example of api path in the post.  
Even when putting the correct path and query parameter, it doesn’t work.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [January 26, 2024, 7:00pm UTC](https://devforum.zoom.us/t/query-parameter-problem-with-metrics-meetings-meetingid-participants-endpoint/101982/4 "2024-01-26T19:00:52Z")

</div>

@JasonY can you send the complete request you are making in cURL format?
