barmaman_20903
08/06/2025, 6:18 AMAI Evy
08/06/2025, 6:18 AMAI Evy
08/06/2025, 6:18 AMfrom_number field when you retrieve call information using the Get Call API [(1) ]() or List Calls API [(2) ]() . For example:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.retrieve('119c3f8e47135a29e65947eeb34cf12d') ;
console.log(callResponse) ;AI Evy
08/06/2025, 6:18 AMfrom_number field which contains the caller's phone number [(3) ]() [(2) ]() [(1) ]() .
## Using Webhooks
You can also access the caller number through webhooks [(4) ]() . The from_number is automatically included in webhook payloads for call events like call_started, call_ended, and call_analyzed [(5) ]() .
## Important Considerations
If you have "Opt out sensitive data storage" enabled, you can still access the caller number by enabling webhook subscriptions for call_ended or call_analyzed events and parsing the webhook payload to extract the from_number [(4) ]() .
The caller number is available for both inbound and outbound calls and appears in the same from_number field across all API responses [(3) ]() [(2) ]() [(1) ]() .AI Evy
08/06/2025, 6:18 AMAI Evy
08/06/2025, 6:18 AM