REQUEST curl --request GET \ --url ‘…api.zoom.us/v2/phone/auto_receptionists/10?page_size=30&next_page_token=’ \ --header ‘Accept: application/json’ \ --header ‘Authorization: B e ar er …’
RESPONSE
{ “code”: 403, “message”: “You do not have p ermission.”}
Error? { “code”: 403, “message”: “You do not have permission.”}
What else? The Owner of the App has Admin-rights
We would be glad if someone could help us in finding the possible points of failure and finally the solution for this to work!
Just sharing a thought here, if the token is generating fine and the scopes look correct, maybe the issue is related to Zoom Phone licensing or account permissions instead of OAuth scopes only. I also noticed the request is using /phone/auto_receptionists/10, are you sure 10 is a valid auto receptionist ID for that account? Maybe try the general list endpoint first and see if it still returns 403. That could help narrow down whether it is a permission issue or something specific to the endpoint or ID.
the URL was my fault, it also doesn’t work with listing the auto_receptionists. The scopes shouldn’t be a matter, we use scope": “phone:read:list_auto_receptionists:admin phone:read:auto_receptionist:admin” and that should be enough.
For the license, we are using a Zoom Phone Basic-license, is that enough to use the API’s?
@Rehan1 we booked a Zoom Phone Pro license for the user that owns the app, the user does not own a Zoom Workplace Pro-license as of now. Result is still the same as we got it with Zoom Phone-Basic license. Is there any idea what could cause the trouble? As mentioned above, we used the general list endpoint for the tests also, but the result is identically. Thankful for any help we can get!
Step by Step we are getting closer. The User that owns the App has to get some additional Roles/Rights in order to call the endpoints:
User Management → Users → View
User Management → Users → Edit (optional)
Phone System Management → Auto Receptionists → View
Phone System Management → Auto Receptionists → Edit
Phone System Management → View
Phone System Management → Sites → View