Skip to main content

Our dev is developing an app using Ringcentral's SMS API to send SMS on behalf of different users (extension) in our ringcentral account. Each user extension in our Ringcentral account has a DID and are assigned with additional numbers

Is there a way to authenticate a super admin user to be able to send out SMS on behalf of other extenison ? After some googling, seems it is not posisble but I just want to ask again to see if things has changed in Ringcentral.


Also, if we need to be able to send out SMS on behalf of each user/extension in ringcentral using API, what's the best way to authenticate those users?

For JWT, do we have to ask each user we need to send out SMS on behalf of to have sign up in the Dev portal and then issue a JWT for that particular user? What if there are 100 users, do we need to do it with those 100 users each?? and each time there is a new user added, we will have to sign the new user up on the Dev portal and create the JWT code for that new user, add it to our code??

Is there a better way of doing this?


Thanks




Even a super admin cannot send SMS on behalf of other user extensions.

You can either request your users to provide their JWT token or make your app a 3-legged authorization and ask them to login your app once. After a user login, keep the refresh token valid all the time by implement auto refresh function to refresh the token periodically. Then your app can use the user access token to send SMS messages on the user's behalf.


Reply