Solved

Granting User or App Permissions

  • 22 September 2023
  • 4 replies
  • 227 views

  • Participating Frequently
  • 5 replies

I've recently created an app that is currently in sandbox. When I try to use this app and the credentials generated to make a phone call, I get:

"In order to call this API endpoint, one of the following permissions [RingOut] have to be granted to the authorized user."

I have seen other questions similar to this, and the general answer is to log-in to the admin portal and grant that user the proper "Role" for that permission. However, I'm a bit confused here - when I log in to https://service.devtest.ringcentral.com and look at Users, I only see myself (super admin) which is the same number/username I'm trying to issue my call from and getting this permissions error. How do I grant my specific app or clientID "RingOut" permission? It already is added as an application scope.

icon

Best answer by Phong1426275020 22 September 2023, 22:49

View original

4 replies

Userlevel 1

So you call the /ring-out API, right? Can you share the app client id?

Yes, I'm calling this endpoint:/restapi/v1.0/account/~/extension/~/ring-out

Client ID: 2eeXZT2rix1azRgNcxL7Tt

Userlevel 1

Checking your app then your sandbox setup. Your only user in the sandbox account does not have a direct number nor a phone (device) yet.

I added a phone to your sandbox super admin user extension (I choose a California phone number. you can change it by adding another number though).

Now you can relogin the RC app (devtest) and set the emergency address then make direct call or call the /ring-out API.

Thank you very much, it works now!

Reply