collinjh_
08/15/2025, 7:10 PMAI Evy
08/15/2025, 7:10 PMAI Evy
08/15/2025, 7:10 PMopt_out_sensitive_data_storage parameter to false when updating your agent [(1) ]() . This controls whether the agent stores sensitive data like transcripts, recordings, and phone numbers .
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.update('call_a4441234567890777c4a4a123e6', {
metadata: { customer_id: 'cust_123', notes: 'Follow-up required' },
opt_out_sensitive_data_storage: true,
}) ;
[(2) ]()
## For Secure URLs (opt_in_signed_url)
There's also a separate setting for secure URLs. To opt in to secure URLs, you can navigate to your agent and toggle the "Opt In Secure URL" switch [(3) ]() . When enabled, URLs for call recordings and logs will include security signatures that expire after 24 hours [(1) ]() [(3) ]() .
The opt_out_sensitive_data_storage setting is what controls whether recordings are stored at all, so you'll want to set that to false to enable recordings [(1) ]() .AI Evy
08/15/2025, 7:10 PMAI Evy
08/15/2025, 7:10 PMAI Evy
08/15/2025, 7:11 PM