Skip to main content

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.

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


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?


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


Reply