RingOut problem using extensionId

  • 1
  • Problem
  • Updated 3 weeks ago
I can ring out successfully requesting:
https://platform.ringcentral.com/restapi/v1.0/account/~/extension/~/ring-out


But when I want to add the extension id I get a CMN-102 error (Resource for parameter [extensionId] is not found) see request example below:
https://platform.ringcentral.com/restapi/v1.0/account/~/extension/279580017/ring-out


I'm pretty certain I have the correct id as I'm grabbing the extension Id from the request below successfully:
https://platform.ringcentral.com/restapi/v1.0/account/~/extension 


If anyone has run into this or can point out any potential pitfalls I would very much appreciate some pointers.
Photo of Joseph Brown

Joseph Brown

  • 70 Points

Posted 3 weeks ago

  • 1
Photo of Anton Nikitin

Anton Nikitin, Official Rep

  • 2,512 Points 2k badge 2x thumb
Hi Joseph,

as far as I can see you use the access token issued for System Admin User but specify the ID of another extension in your URI. It is not allowed: user can only make ringout calls on behalf ow his/her own extension. When you specify tilde it will automatically applies current user's extension ID.

Hope I made it clear.
Photo of John Wang

John Wang, Official Rep

  • 4,704 Points 4k badge 2x thumb