News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How do I retrieve the call-log content or mp3?
Tags: call logs
Aug 10, 2015 at 9:50am   •   6 replies  •  0 likes

I'm performing a GET to /restapi/v1.0/account/{accountId}/recording/598205453028/content

and receiving a

* The requested URL returned error: 403 Forbidden

According to!#AccessingCallLogs.html


is forbidden but I'm retrieving /account/{accountId}/recording/{sessionId}/content

Is anyone else trying to download the Call Log mp3s?

6 Answers
answered on Aug 11, 2015 at 5:14pm  
You are actually using a method that we cannot guarantee will always work in the future.  I would encourage you to use the published API and wait for us to support it in production.

Since you are using an unsupported access method, it can be removed at any time.

answered on Aug 11, 2015 at 2:32pm  
There's no need. I feel like the script I wrote is much better. If I were to use the API calls, I would have to throttle the amount of times I hit your servers while if I download each call recording using my script, I'm going to guess I can bypass the too many request API error and download each audio file one after the other.

answered on Aug 11, 2015 at 12:07pm  

Dear eramon:

Currently, call recording access via our API is enabled on the sandbox for testing purposes. We are intending to release that feature later in the fall.

You are welcome to write to us and explain your use case needs by emailing the developer support team or opening a support ticket and include 'feature request - call recordings' in your subject line.



answered on Aug 11, 2015 at 8:55am  
function getURL($url, $login = false){
        $ch = curl_init ($url);
                $poststring = 'LoginName='.$Username.
                curl_setopt ($ch, CURLOPT_POST, 1);
                curl_setopt ($ch, CURLOPT_POSTFIELDS, $poststring);
        curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7");
        curl_setopt ($ch, CURLOPT_COOKIEJAR, 'RC_Cookie.txt');
        curl_setopt ($ch, CURLOPT_COOKIEFILE, 'RC_Cookie.txt');
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
        $data = curl_exec ($ch);
        return $data;

$Username = '1713XXXXXXX';
$Password = 'XXX';



answered on Aug 11, 2015 at 8:11am  
If we are unable to use the API to download the recordings, what is the alternative?

answered on Aug 10, 2015 at 11:03am  

Are you trying to retrieve call recordings in Production Environment ?  If so please be aware that the Production Environment does not support accessing call recordings through API's.


A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

Resource center
Product Releases
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us