# Unexpected results from v2/phone/call\_logs

**URL:** <https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395>\
**Category:** API and Webhooks\
**Created:** [June 5, 2020, 2:33am UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395 "2020-06-05T02:33:17Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard.kitamura](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.kitamura/32/9947_2.png) [@richard.kitamura](https://devforum.zoom.us/u/richard.kitamura)\
**Post date:** [June 5, 2020, 2:33am UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/1 "2020-06-05T02:33:17Z")

</div>

**Description**  
When calling v2/phone/call\_logs, I get this back:

page\_count = 10  
page\_number = 1  
page\_size = 300  
total\_records = 2989  
from = 2020-06-03  
to = 2020-06-03  
call\_logs = {@{…}}

Based on the API documentation I should be getting back a string in next\_page\_token because total\_records (2989) exceeds page\_size (300), but it’s not being returned to me in the response. I’m assuming that this means there are a total of 2989 records to retrieve.

API page:

> **[Get Account's Call Logs - Phone - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/phone/accountcalllogs)**
>
> Retrieve call logs for an account. 
> 
> Scopes: phone:read:admin
> Rate Limit Label: Heavy
> Prerequisite:
> 1\\. Business or Enterprise account
> 2\\. A Zoom Phone...

**Error**  
Not getting next\_page\_token back in response.

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

**Which Endpoint/s?**  
v2/phone/call\_logs

**How To Reproduce (If applicable)**  
Request [https://api.zoom.us/v2/phone/call\_logs?page\_size=100&from=2020-06-03&to=2020-06-03&type=all](https://api.zoom.us/v2/phone/call_logs?page_size=100&from=2020-06-03&to=2020-06-03&type=all)

---

<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:** [June 9, 2020, 10:35pm UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/2 "2020-06-09T22:35:06Z")

</div>

Hey @richard.kitamura,

That is strange. Can you try adjusting your to query param to `2020-06-04` and let me know if that returns a next\_page\_token?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![richard.kitamura](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.kitamura/32/9947_2.png) [@richard.kitamura](https://devforum.zoom.us/u/richard.kitamura)\
**Post date:** [June 10, 2020, 1:15am UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/3 "2020-06-10T01:15:57Z")

</div>

I saw that other Zoom Phone API endpoints use a different pagination method, and tried that. It works so I went with that. Maybe your documentation needs updating. Thanks for following up though.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 12, 2020, 11:32pm UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/4 "2020-06-12T23:32:59Z")

</div>

Thanks for identifying this @richard.kitamura, we’re in the process of making our pagination [consistent across all Batch List APIs](https://marketplace.zoom.us/docs/guides/announcements#batch-list-api-changes). We’ll update documentation.

cc: @shrijana.g

---

<div class="post-metadata">

**Author:** ![shrijana.g](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shrijana.g/32/605_2.png) [@shrijana.g](https://devforum.zoom.us/u/shrijana.g)\
**Post date:** [June 17, 2020, 2:09am UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/5 "2020-06-17T02:09:44Z")

</div>

Hi @richard.kitamura,

Thank you for letting us know about this issue. As @michael.zoom pointed out, the pagination process will be made consistent over the next few months. This API currently supports both page\_number and next\_page\_token but only one can be used at a time. If you do not provide page\_number in the query, you will get a next page token. However, we will be disabling pagination by page number in the future and we recommend that you not use it for this API. I have also removed it from the doc to reduce further confusion. Thanks to you and @michael.zoom for the details!

Best,  
Shrijana

---

<div class="post-metadata">

**Author:** ![richard.kitamura](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.kitamura/32/9947_2.png) [@richard.kitamura](https://devforum.zoom.us/u/richard.kitamura)\
**Post date:** [June 17, 2020, 2:24am UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/6 "2020-06-17T02:24:57Z")

</div>

How do I get notified about changes to the API well before they’re put into production? If I hadn’t submitted a ticket I wouldn’t even know that the API will change in a few months until my code started failing.

Thanks,

Richard

![image001.jpg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpeg)

---

<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:** [June 19, 2020, 6:13am UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/7 "2020-06-19T06:13:06Z")

</div>

Hey @richard.kitamura,

If we are planning to release breaking changes, we will communicate far in advance.

You can also track upcoming changes here:

[https://marketplace.zoom.us/docs/guides/stay-up-to-date/upcoming-changes/api](https://marketplace.zoom.us/docs/guides/stay-up-to-date/upcoming-changes/api)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![richard.kitamura](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.kitamura/32/9947_2.png) [@richard.kitamura](https://devforum.zoom.us/u/richard.kitamura)\
**Post date:** [June 19, 2020, 6:05pm UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/8 "2020-06-19T18:05:36Z")

</div>

How do I **subscribe** to **upcoming** changes? I only see a way to subscribe to changes that have been pushed to production after the fact.

![image001.jpg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpeg)

---

<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:** [June 23, 2020, 8:13pm UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/9 "2020-06-23T20:13:56Z")

</div>

Hey @richard.kitamura,

Currently we do not have a way for folks to subscribe to our upcoming releases page, but we will not release breaking changes without emailing you far in advance.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![richard.kitamura](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.kitamura/32/9947_2.png) [@richard.kitamura](https://devforum.zoom.us/u/richard.kitamura)\
**Post date:** [June 23, 2020, 8:29pm UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/10 "2020-06-23T20:29:57Z")

</div>

Ok please add me to that email list then. Thanks.

![image001.jpg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpeg)

---

<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:** [June 24, 2020, 10:42pm UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/11 "2020-06-24T22:42:17Z")

</div>

Hey @richard.kitamura,

You should already be added if you have used the Zoom App Marketplace.

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, 10:26pm UTC](https://devforum.zoom.us/t/unexpected-results-from-v2-phone-call-logs/20395/12 "2020-08-21T22:26:12Z")

</div>

Closed on August 21, 2020, 10:26pm UTC


