manthu
12/24/2025, 10:10 AMAI Evy
12/24/2025, 10:11 AMAI Evy
12/24/2025, 10:11 AMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.import({
phone_number: '+14157774444',
termination_uri: 'someuri.pstn.twilio.com',
}) ;
Key requirements for importing your number:
- phone_number (required) : Your number in E.164 format
- termination_uri (required) : The termination URI from your elastic SIP trunk provider (e.g., Twilio, Telnyx)
- You can optionally bind inbound_agent_id and outbound_agent_id to handle calls
Note on international calling: For imported numbers, international calling capabilities depend on your telephony provider's settings. [(3) ]()
Check out these resources for more details:
- [Import Phone Number]()
- [Custom Telephony guide]()AI Evy
12/24/2025, 10:11 AMAI Evy
12/24/2025, 10:11 AM