# How to obtain the root call log id?

**URL:** <https://devforum.zoom.us/t/how-to-obtain-the-root-call-log-id/101525>\
**Category:** Phone\
**Created:** [January 9, 2024, 11:59pm UTC](https://devforum.zoom.us/t/how-to-obtain-the-root-call-log-id/101525 "2024-01-09T23:59:40Z")\
**Posts on this page:** 1\
**Showing post:** 43

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [April 18, 2025, 2:56pm UTC](https://devforum.zoom.us/t/how-to-obtain-the-root-call-log-id/101525/43 "2025-04-18T14:56:59Z")

</div>

> [@ddesimone](#):
>
> I can understand why the “new” **/phone/call\_history** endpoint is Rate Limit Labeled HEAVY, due to the nature of potentially searching for a lot of data.
> 
> I don’t understand though why **/phone/call\_history/{callLogId}** and **/phone/call\_history\_detail/{callLogId}** – note the use of the {callLogId} to fetch a single record – are labeled HEAVY and MEDIUM.
> 
> The previous (deprecated) **/phone/call\_logs/{callLogId}** endpoint was LIGHT.
> 
> So now we have to build in more catch-retry or thread pause logic because we are experiencing the “Too Many Requests” error.
> 
> Lastly, these call log endpoint changes by Zoom have doubled the amount of API calls we make to get the data we need.
> 
> As an example, we have a process that fetches all prior day call history – which during a weekday could be 25k-30k+ calls.
> 
> Using **/phone/call\_history** in batches of 300 is 80-100+ API calls. Not a big deal, but the JSON response schema for this endpoint gives a lot of detail but NOT ALL of the detail for the call.
> 
> So, now for each of the 30K+ calls we need to make 2 additional calls (instead of 1 before):
> 
> - **/phone/call\_history\_detail/{callLogId}** – this endpoint returns a few more pieces of information that the first didn’t – such as “hold\_time” and “wait\_time” (mislabeled in the documentation as “waiting\_time”)
> - **/phone/call\_history/{callLogId}** – this endpoint returns us the call path data (ie: segments) that neither of the other endpoints contain. It used to be included in the deprecated “get call log details”.
> 
> Adding this up – 60,000+ API calls – happening every weekday.
> 
> Seems like incoming API traffic could be minimized by combining the 2 endpoints above. Move the call path data back into the **call\_history\_detail** endpoint and move the endpoint back to the LIGHT rate limit.

Good point @ddesimone – I’ve just shared with the PM and will discuss. Thank you and I’ll come back to the thread when I have more updates.

---

_[View the full topic](https://devforum.zoom.us/t/how-to-obtain-the-root-call-log-id/101525)._
