One of our developers is looking to have PowerShell send very occasional system administration messages to other administrators through Zoom using SMS, when monitoring software discovers a problem.
He is looking to for simple functionality that models the SMTP to SMS conduits phone carriers are now eliminating.
He does not have Zoom administrator access but I do. I am not a developer. I did try constructing an app in Zoom Marketplace, but the scoping options do not seem to fit the problem.
My question is ‘Is this a problem that Zoom is designed to solve?’ It was suggested that Twillio might be a better fit. Any other options for this use case?
I am the developer that was mentioned in the original post.
I am attempting to send SMS via powershell script which does acquire an access token successfully and attempt to send SMS using that token, however the SMS fails because the token lacks necessary Scope:
❌ Missing required scopes: phone:read:sms_message, phone:write:sms_message
To enable these scopes:
1. Go to https://marketplace.zoom.us/develop/create
2. Select your Server-to-Server OAuth app.
3. In the left menu, click 'Scopes'.
4. Add the missing scopes above, save, and re-activate the app.
Unfortunately it’s not clear how to add these “scopes” or, if I’m not already doing so with the access token, how to “authenticate and post via the API”.
Hi @Larry4
Thanks for reahcing out to us.
You will need to go into the Zoom marketplace and follow the steps you mentioned, you will need to look for the right scope to access the Post SMS message endpoint
In this case, as you are using a Server-to-Server Oauth app, you will need to add this scope: phone:read:sms_message:admin