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
message-store Get Messages after user has deleted a message
Tags: sms and text messaging
Mar 22, 2018 at 12:03pm   •   2 replies  •  0 likes

We would like to archive all Text messages sent to or from our extensions. However, if a user deletes a message (by selecting a thread, right-clicking an individual message bubble, and choosing delete) from the desktop app, is that message now gone from Ring Central backend storage? Would a call to message-store Get Messages return this "deleted" message?

Or does this only hide it from the user (similar to how clearing the call log via the desktop app only really hides it for that user)?


2 Answers
answered on Jul 1, 2019 at 8:10am  

If a message is deleted you can still get the message information by retrieving the message store with message is .. /restapi/v1.0/account/accountId/extension/extensionId/message-store/messageId


In response, you will get the field call messageAvalibility shows the status as delete.Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored.

As per here, the RingCentral Retention Management APIallows Account administrators to customize the Data Retention Policy to ensure the organization keeps less than 90 days of message data

answered on Apr 3, 2018 at 10:27am  


if user deletes a message it is marked as deleted first (you can check "availabilityStatus" parameter in API response) and then permanently deleted in a week.

By default API does not return deleted messages. But you can specify explicitly if you want to see deleted messages by using "availabilityStatus" parameter in message-store API request.

Also please be aware that we have retention policy and messages can be deleted automatically - see more info here


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