/phone/call_logs endpoint returns only 1 month of data

Description
When querying the API endpoint below, data returned is only for 1 month instead of the requested 6 months.

Unlike the “User call logs endpoint”, which mentions that you must query in 1 month increments, this endpoint does not mention this limitation.

The request made on Feb 1st was:
GET https://api.zoom.us/v2/phone/call_logs?from=2020-08-01&to=2021-02-01
The response data appears like the following, and indicates that it’s only retrieving data from 2021-01-01 to 2021-02-01:
{“next_page_token”:"*******",“page_size”:30,“total_records”:4932,“from”:“2021-01-01”,“to”:“2021-02-01”,“call_logs”:[{“id”: … records listed here …}]}

Is there something I’m doing wrong here? Perhaps we’re requesting data too close to the 6 month mark, or perhaps the data must be requested sections of 1 month at a time?

Hey @jhbaggs,

Thank you for reaching out to the Zoom Developer Forum. When it comes to this API, it looks like from and to date will need to be within one month of each other so that the request is retrieving data in one-month increments.

@shrijana.g Can we update the Get Account’s Call Logs API documentation to reflect that the to and from fields need to be in one-month increments?

Thanks,
Max

1 Like

@MaxM @jhbaggs Thanks for flagging this. The query param description in the reference doc has been updated with this information.

Thanks,
Shrijana

1 Like