Twilio SMS and MMS messages, including message bodies and records, are kept in Twilio's cloud storage until a customer requests them be removed. Customers can request messages to be deleted at any time via an HTTP DELETE request.
Once an HTTP DELETE request is received, the corresponding message is removed from the customer facing repository that holds messages. Deleted messages can not be recovered. Message bodies may persist for up to 30 days after an HTTP DELETE request in our database backups.
Upcoming changes to message retention on August 15, 2020
Before this change goes into effect we will provide a Bulk Export utility in Console and via API. Bulk Export will generate S3 files containing one day of data per file and deliver the download link via webhook, email, or Console. Records older than thirteen months will only be able to be retrieved via Bulk Export.
If you only view logs in Console, there is no need to take any action, just be aware that starting August 15, message logs will only display records for the past 13 months.
If you perform log extraction via API on a rolling basis, it is important to verify that you are pulling the logs at a frequency that will remain unaffected by this change.
This upcoming change was announced in our public Change Log on May 15, 2020. We recommend checking the Change Log periodically to stay up to date on changes to Twilio products and features.