https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do i keep opt out 'on' so that retell does not...
# 💬・general
p
@AI Evy how do i keep opt out 'on' so that retell does not save my data
a
Thanks for tagging me @prism_09. I'll look through relevant sources and get back to you shortly.
### Answer To keep the "Opt Out Sensitive Data Storage" setting enabled so Retell doesn't save your data, you have two main options: ## Dashboard Method Navigate to your agent and toggle the "Opt Out Sensitive Data Storage" switch [(1) ]() . This will prevent Retell from storing sensitive data like call logs, transcriptions, call recordings, caller/callee IDs, knowledge base retrieved contents logs, dynamic variables, and metadata . ## API Method When creating or updating an agent, set the
opt_out_sensitive_data_storage
parameter to
true
[(2) ]() [(3) ]() [(4) ]() [(5) ]() :
Copy code
javascript
opt_out_sensitive_data_storage: true
[(2) ]() , [(3) ]() , [(4) ]() , [(5) ]() ## What Happens When You Opt Out When you opt out, you will continue to receive webhook events where you can access the transcript, call recording, and other sensitive data [(1) ]() . However, the call recording link will expire after 10 minutes upon receiving the webhook . No sensitive data will be stored in Retell's systems, so if you query the call with the get call API, you will not get these fields . ## Runtime Considerations If you need to set this per call rather than per agent, you would need to create separate agents with different opt-out settings, or update the agent setting before making calls [(6) ]() .
​ To learn more, see the sources I considered: [[1] Opt out of data storage - Retell AI](https://docs.retellai.com/accounts/privacy-disable) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] Update Agent](https://docs.retellai.com/api-references/update-agent) [[4] Get Agent](https://docs.retellai.com/api-references/get-agent) [[5] Create Agent](https://docs.retellai.com/api-references/create-agent) [[6] Setting 'Opt Out Sensitive Data Storage' at runtime](https://discord.com/channels/1186424376300679209/1323395601534156832) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.