Unable to fetch SMS logs via Zoom Phone API - Scopes and Endpoint Issues

Hi Team,

I am currently working on an integration to track Zoom Phone metrics, but I am unable to successfully fetch SMS logs. While I can access call logs, the SMS data is not returning as expected**.**

Details of my implementation:

  • App Type: OAuth App
  • Endpoint being used: GET /v2/phone/sms/logs
  • Scopes Added: phone:read:sms:admin and phone:read:admin
  • Issue: I am receiving a 200 OK status, but the response body returns an empty array {"sms_logs": []} even though there is active SMS history on the account.

What I am trying to achieve: I need to fetch the total SMS log count and message details for specific time ranges.

This API will get you a record count of SMS/MMS month at a time: Phone APIs

Can you share the Zoom article with the specific endpoint you are calling?

Overall, Webhook for SMS / SMS message details could be a better solution to track SMS / retrieve the messages. Instead of making API calls for your SMS use case.
https://developers.zoom.us/docs/api/phone/events/#tag/phone/postphone.sms_sent

https://developers.zoom.us/docs/api/phone/events/#tag/phone/postphone.sms_received