question

dmitry-loginov657 avatar image
dmitry-loginov657 asked ·

PHP SDK Getting "Call recording content".

I use PHP SDK.

I try to get call recording content. For example,

 $platform->get('https://platform.devtest.ringcentral.com/restapi/v1.0/account/664649005/recording/1347950005/content');

SDK using curl. Curl send request and receive response:

HTTP/1.1 403 Forbidden Server: nginx/1.8.0 Date: Tue, 29 Dec 2015 09:00:52 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 222 Connection: keep-alive RCRequestId: 494861 RoutingKey: SJC12P01PAS02 X-LoadMetric: 6 WWW-Authenticate: Bearer realm="RingCentral REST API", error="insufficient_scope" X-ERROR-ID: b88c2180-2f44-48e5-833c-b08e44ac997e Content-Language: en-US X-REQUEST-ID: 494861 { "errorCode" : "InsufficientPermissions", "message" : "Specific application permission required", "errors" : [ { "errorCode" : "CMN-401", "message" : "Specific application permission required" } ] }  
I'm don't know what i must do it.

Help me please
aaa
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
benjamin-dean avatar image
benjamin-dean answered ·
Go to your application information in the app please copy and paste them here. Your app may not have the correct API Permissions defined. You should see a permission like "Read Call Recordings". If that isn't present you need to add it to your app please. The other possibility is your account somehow did not receive the correct credentials to access call recordings. Could yout also share your App Name here as well and I can confirm/fix if this is the issue.
7 comments Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Added Read Recording permission to the app. Please reply to my email with the details for the usage of the call recording. 
1 Like 1 · ·
Thanks! It's work!
1 Like 1 · ·
Thanks.

When i create application field list "Permissions needed" contains only "Read Messages, Faxes, Read Presence, Read Accounts, Ring Out, SMS, Internal Messages, Read Call Log, Edit Messages ".

I can't find "Read Call Recordings" permission.



My application "SalesForce Integration" settings

Scope - Public

Permissions - Read Messages, Faxes, Read Presence, Read Accounts, Ring Out, SMS, Internal Messages, Read Call Log, Edit Messages 


I use it in sandbox only.



0 Likes 0 · ·
That will need to be enabled for your account. You have one of two choices: 1. You don't you mind waiting until tomortow morning and i can review your app and enable this feature, and notify you once comolete. 2. Send an email to devSupport@RingCentral.Com and request permission to download Call Recordings, along with your app name and app ID. Your support case will be processed in the order in which it was received. Just let me know which you'd prefer please. Thanks, Benjamin
0 Likes 0 · ·
Thanks Benjamin.

I select way 1. 

My application - "SalesForce Integration". Application Key - a9dLrqSfQzGubPEDfS3rXw
0 Likes 0 · ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.