https://retellai.com/?utm_source=discord&utm_medium=seo logo
where do I change the setting because it says i ha...
# ❓・ai-evy-support
c
@AI Evy where do I change the setting because it says i have opted out o ghe recordings and I want tgo opt in
a
Thanks for tagging me @collinjh_. I'll look through relevant sources and get back to you shortly.
### Answer There are two different recording-related settings you can configure for your Retell AI agent: ## For Call Recordings and Transcripts (opt_out_sensitive_data_storage) To opt back in to call recordings, you need to set the
opt_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 .
Copy code
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) ]() .
​ To learn more, see the sources I considered: [[1] Update Agent](https://docs.retellai.com/api-references/update-agent) [[2] Update Call](https://docs.retellai.com/api-references/update-call) [[3] Opt in to secure URL - Retell AI](https://docs.retellai.com/accounts/signed-secure-url) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the feedback, glad I was helpful.