Whenever a call recording is made, Twilio will automatically store the recording file as long as you wish. Twilio stores the first 10,000 minutes of single-channel call recordings (or the first 5,000 minutes of dual-channel recordings) for free. To prevent added costs for recording storage, here are some methods for managing call recordings.
Delete Recordings Automatically with Recording Status Callbacks
When using Recording Status Callbacks, as soon as the recording audio file is posted to our storage, Twilio will reach out to the URL provided with a link to this file. These callbacks can be used to download and/or delete call recordings (via our REST API) from Twilio’s storage, and help prevent additional storage charges.
Recording Status Callbacks can be requested for each of our Programmable Voice call recording options (Elastic SIP Trunking does not support recording status callbacks).
- API requested calls use the
- Outbound <Dial> calls and <Record> command recordings use the
Delete Recordings Programmatically via the REST API
Call recordings can be be deleted via HTTP DELETE calls to the Recordings API resource. To delete multiple recordings using the API, a script would be required that iterates over the list of recordings to be deleted, making a separate API request to delete each recording.
More information, including sample code and best practices for managing recordings, can be found in the blog post Manage Your Call Recordings with the REST API.
Delete Recordings Manually from Console
Single call recordings can be manually deleted one at a time from the Recordings log in Console:
- Login to your account at www.twilio.com/console.
- Click Programmable Voice .
- Click Logs.
- Navigate to and select the desired recordings -
- From Calls logs: select the desired call, and then click on the Recording SID.
- From Recordings logs: click the desired recording.