Missing Scopes for phone_sms:write:admin

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:

Scopes: phone:write:admin,phone:write,phone_sms:write,phone_sms:write:admin)

Granular Scopes: phone:read:sms_message,phone:read:sms_message:admin

2 Likes

I run into the same issue. Have you get it sorted.

1 Like

Not entirely, the partial fix workaround I found was making an account level general app and having the user authenticate themselves.

1 Like

@Kyle1 ,

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.

2 Likes

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

1 Like

Hi Donte,

We are using the API to give our team members the ability to send SMS messages via a custom HubSpot UI extension

Were you able to fix it yet?

Related:

@Kyle1 @tamn @Victor_Lam

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.

Hi @donte.zoom,

I’m already using a general, user-managed app as stated in my response in the other thread

The scopes are simply not selectable/do not appear in searches, as per the image I sent.