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
Retrieve all SMS messages from entire account
Tags: rest api
Jun 23, 2021 at 12:17pm   •   2 replies  •  0 likes
James Peragine

How can I retrieve all SMS Messages to/from a phone number from our entire account? I am only able to pull messages to/from a specific extension using the API test method.

2 Answers
answered on Jun 23, 2021 at 12:38pm  

You have to login your app as a super admin, read all extensions to get a list of extension ids, then call the user message-store endpoint to read each extension SMS message.

/restapi/v1.0/account/~/extension/[extensionId]/message-store


 0
answered on Jun 23, 2021 at 12:52pm  

Hi Phong

Will I have to call each extension one at a time? Is there a way to get all messages send from anyone in the company with a single API Call?


 0
on Jun 23, 2021 at 2:08pm   •  0 likes

The only choice is to use the message store export API. Unfortunately, that API does not support much of filtering to export just a certain message type. Check this out if it helps.

https://developers.ringcentral.com/api-reference/Message-Exports/createMessageStoreReport

https://medium.com/ringcentral-developers/how-to-archive-companys-messaging-content-3d051068667b



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