Some requests to /phone/voice_mails fail with status 400, bad request

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

Get account voicemails​
GET /phone/voice_mails
https://developers.zoom.us/docs/api/phone/#tag/voicemails/get/phone/voice_mails

Description
When requesting with from=2025-03-11&to=2025-04-08 I received status 400: bad request. any combination of other parameters seem to not make a difference; like owner_type or site_id.

The response is fine when using other date ranges from April thru September. For example: from=2025-04-09&to=2025-05-07

I have not tried earlier date ranges.

Error?
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.zoom.us/v2/phone/voice_mails?from=2025-03-11&to=2025-04-08

How To Reproduce
Server-to-server OAuth

Scopes
phone:read:list_voicemails:admin
phone:read:common_area:admin
phone:read:voicemail:admin
phone:read:list_shared_line_groups:admin
phone:read:list_users:admin

Thanks in advance!

Hi @Jeremy8
Thanks for reaching out to us.
The date range defined in your parameters should fall within the last six months in order to get a successful response.

Hi @elisa.zoom,

Thank you for the reply. It’s precise and to the point!

I probably missed it in the API docs. Is that configurable or something available from our account rep?

Thank you!

hi @Jeremy8
You just have to fix the query parameters in your request URL

For example:
https://api.zoom.us/v2/phone/voice_mails?from=2025-09-07&to=2025-09-30