# Is the page\_size option not functional?

**URL:** <https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207>\
**Category:** API and Webhooks\
**Created:** [August 26, 2020, 10:07am UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207 "2020-08-26T10:07:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naji](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@Naji](https://devforum.zoom.us/u/Naji)\
**Post date:** [August 26, 2020, 10:07am UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/1 "2020-08-26T10:07:22Z")

</div>

No matter which integer I declare for the page\_size option in my API call, the default value of 30 is returned.

Options used:

```
headers: {
  authorization: 'Bearer KEY',
  from: yesterdaystart,
  to: yesterdayend,
  page_size: 150,
  type: 'live',
}

```

Whether I use 1 or 300 I get the same page size returned of 30 results, is pagination the only way to retrieve datasets larger than 30 results?

---

<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:** [August 28, 2020, 5:17am UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/2 "2020-08-28T05:17:54Z")

</div>

Hey @Naji,

Which API are you using? Make sure to pass the page\_size as a query param and not a header.

`api_url?page_size=10`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ryan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ryan/32/37137_2.png) [@ryan](https://devforum.zoom.us/u/ryan)\
**Post date:** [September 3, 2020, 10:58pm UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/3 "2020-09-03T22:58:11Z")

</div>

I’m seeing a similar issue with [https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist)

For example:

I make the call `GET https://api.zoom.us/v2/users/<user id>/recordings?from=2020-08-20&page_size=5` and I get a response:

```auto
{
    "from": "2020-08-20",
    "meetings": [...],
     "next_page_token": "MOz7cn6yEivra7B6y5HNXu8AxL4pYFrwHx2",
    "page_count": 9,
    "page_size": 5,
    "to": "2020-09-03",
    "total_records": 44
}

```

where `meetings` is a list with 44 items, regardless of what I pass in as `page_size` or when I try using `next_page_token`.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 8, 2020, 8:10pm UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/4 "2020-09-08T20:10:04Z")

</div>

Hi @ryan,

Can you confirm that within the meetings object in your response that there are more than 30 individual records showing in the first page of results? I should clarify that the “total\_records” number of 44 refers to records included in subsequent pages as well (even though you won’t see them all in the first page, necessarily).

If you have a copy of the full request and payload response, I’m happy to take a closer look as well!

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![ryan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ryan/32/37137_2.png) [@ryan](https://devforum.zoom.us/u/ryan)\
**Post date:** [September 8, 2020, 8:54pm UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/5 "2020-09-08T20:54:58Z")

</div>

Yes, thats the issue I’m seeing, instead of just 5 records (per `page_size=5`), I get all 44. Do you want me to email or dm the full payload?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 8, 2020, 8:57pm UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/6 "2020-09-08T20:57:15Z")

</div>

Hey @ryan,

Thanks for clarifying—yes, if you could email the full payload to [developersupport@zoom.us](mailto:developersupport@zoom.us) and reference this thread, this will let us take a closer look.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![ryan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ryan/32/37137_2.png) [@ryan](https://devforum.zoom.us/u/ryan)\
**Post date:** [September 8, 2020, 11:00pm UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/7 "2020-09-08T23:00:57Z")

</div>

ok, I sent the email!

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 10, 2020, 11:04pm UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/8 "2020-09-10T23:04:01Z")

</div>

@ryan, thanks! I just connected with you there.

This issue is being looked into by our Engineering team. I’ll update you as soon as I hear back on this. (ZOOM-194965)

Best,  
Will

---

<div class="post-metadata">

**Author:** ![Naji](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@Naji](https://devforum.zoom.us/u/Naji)\
**Post date:** [September 15, 2020, 3:26pm UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/9 "2020-09-15T15:26:52Z")

</div>

Very late update but query parameter rather than the header worked for me, so:

```
https://api.zoom.us/v2/metrics/meetings?page_size=300&fro...

```

Then pagination for when results break 300

Thanks!

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 16, 2020, 8:46pm UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/10 "2020-09-16T20:46:00Z")

</div>

@Naji Thanks for the update — I’m glad you figured it out!

Best,  
Will

---

<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:** [October 17, 2020, 6:46am UTC](https://devforum.zoom.us/t/is-the-page-size-option-not-functional/28207/11 "2020-10-17T06:46:14Z")

</div>

Closed on October 17, 2020, 6:46am UTC

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