News & Announcements User Community Developer Community

Welcome to the RingCentral Community

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

Search
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
php sample code to retrieving message attachments
Tags: getting started
Aug 8, 2018 at 8:04am   •   1 replies  •  0 likes
nibu-eapen
may I know how I can save it to file?

RingCentral\SDK\Http\ApiResponse Object  (      [_jsonAsArray:protected] =>       [_jsonAsObject:protected] =>       [_multiparts:protected] =>       [_response:protected] => GuzzleHttp\Psr7\Response Object          (              [reasonPhrase:GuzzleHttp\Psr7\Response:private] => OK              [statusCode:GuzzleHttp\Psr7\Response:private] => 200              [headers:GuzzleHttp\Psr7\Response:private] => Array                  (


1 Answer
answered on Aug 8, 2018 at 12:03pm  
Since you are using the RingCentral PHP SDK. Have a look at this demo code (https://github.com/ringcentral/ringcentral-php/blob/master/demo/callRecording.php).

It is for reading the call recording and download the call recording binary. But you can use the same code to download message attachment where you provide the URI of the message attachment.

+ Phong

 0



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

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