Sania Abbasi
12/22/2025, 5:28 PMAI Evy
12/22/2025, 5:28 PMAI Evy
12/22/2025, 5:28 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
await client.phoneNumber.delete('+14157774444') ;
If you want to add a new phone number, you have two options:
1. Purchase a new number directly through Retell AI
[(2) ]()
2. Import an existing number from a supported provider (Twilio, Telnyx, etc.) using the Import Phone Number API:
[(3) ]() , [(2) ]()
javascript
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',
}) ;
console.log(phoneNumberResponse.inbound_agent_id) ;
[(3) ]()
If your question is about changing the phone number associated with your Retell AI account login, that's a different matter—the sources don't cover account-level phone number changes for authentication. For account-specific issues, please reach out to support@retellai.com.
[(8) ]()AI Evy
12/22/2025, 5:28 PMAI Evy
12/22/2025, 5:28 PM