jk4821
11/27/2025, 8:34 AMAI Evy
11/27/2025, 8:34 AMAI Evy
11/27/2025, 8:35 AM/list-calls in your database [(1) ]() . The API returns comprehensive call information including call IDs, timestamps, transcripts, metadata, and recording URLs [(1) ]() [(2) ]() .
For storing the recording, the response provides recording_url which points to the audio file stored on Retell AI's S3 bucket . You have a few options:
Option 1: Store the URL directly
Store the recording_url string in your database . This is the simplest approach - you keep the reference to the recording without downloading it.
Option 2: Download and store the recording file
To store the actual recording file:
1. Fetch the call data from the API to get the recording_url
2. Download the audio file from the URL (it's a .wav file)
3. Store the downloaded file in your own storage system (local filesystem, S3, etc.)
4. Save the reference to your stored file in your database
The API also provides recording_multi_channel_url for recordings with separate audio channels for each party .
Additional recording options:
- scrubbed_recording_url - recording without PII
- scrubbed_recording_multi_channel_url - multi-channel recording without PII
All recording URLs become available after the call ends .AI Evy
11/27/2025, 8:35 AMAI Evy
11/27/2025, 8:35 AMakshat_9728
11/27/2025, 8:35 AMakshat_9728
11/27/2025, 8:35 AMjk4821
11/27/2025, 8:36 AMjk4821
11/27/2025, 8:36 AMjk4821
12/15/2025, 7:57 AMAI Evy
12/15/2025, 7:57 AMAI Evy
12/15/2025, 7:58 AM/v1/twilio/inbound suggests you may be using an incorrect integration method. For Twilio custom telephony with Retell AI, you should use Elastic SIP Trunking rather than hitting a webhook endpoint directly. [(1) ]()
Here's the correct approach:
1. Create an Elastic SIP Trunk in Twilio
- Set up a SIP trunk with proper termination settings (for outbound) [(2) ]()
- Configure origination (for inbound) with Retell's SIP server address: sip:sip.retellai.com
2. Import Your Number to Retell
After configuring the trunk, import your phone number to Retell using the Import Phone Number API with these required parameters: [(3) ]()
- `phone_number`: Your number in E.164 format (e.g., "+14157774444")
- `termination_uri`: Your elastic SIP trunk URI (for Twilio, it ends with .pstn.twilio.com)
You can also configure optional authentication credentials (sip_trunk_auth_username, sip_trunk_auth_password) and bind an inbound_agent_id to handle incoming calls.
3. Common Issues to Check [(2) ]()
- Check your Termination SIP URI for any spaces and remove them
- Use a localized termination URI near your region
- Verify your username and credentials are correct
The key point is that you don't hit an endpoint directly for inbound calls—the SIP trunk handles the routing to Retell's SIP server. [(1) ]()AI Evy
12/15/2025, 7:58 AMAI Evy
12/15/2025, 7:58 AM