My apologies if this is an obvious question, but i created a server-to-server sms app that allows users at my company to schedule future text messages, it works fine if I use it myself, but when run for other team members it gets a status code 400 with the following error:
“code”:135,“message”:“You cannot have access to another user.”
The documentation has a few required scopes that I don’t see as options in the server-to-server add scopes section. How can I get those options to appear? (they aren’t greyed out or anything, I just can’t find them) I have admin level access to our account, so I don’t think permissions are an issue.
The scopes referenced in the POST
/phone/sms/messages documentation are:
Thank you for writing in the Zoom Developer Forum. Let me take a look at this and get back to you. In the meantime, can you share more information about your use case? This will help identify if there may be another implementation approach you can consider.
We use the sms api to integrate to notion notification system. I’m using the admin account to create the server to server api app. However, I couldn’t find the scopes below phone:write:admin,phone:write,phone_sms:write,phone_sms:write:admin
To send SMS messages on behalf of users, you should create a general user-managed app rather than a server-to-server application. Server-to-server apps only work for messages sent on your own behalf, not for other users in your account. Users must authenticate and grant permission to the app to access the Zoom Phone SMS API if they want to schedule text messages for other team members.
I’ll also work on updating the API documentation, as the Zoom Phone scopes appear to be incorrectly labeled.