https://retellai.com/?utm_source=discord&utm_medium=seo logo
When logging into Retell AI, the phone number that...
# ❓・ai-evy-support
s
@AI Evy When logging into Retell AI, the phone number that was used before is no longer in use. How can I change that number?
a
Thanks for tagging me @Sania Abbasi. I'll look through relevant sources and get back to you shortly.
### Answer If you want to remove a phone number that's no longer in use, you can delete it from your account via the dashboard or using the Delete Phone Number API: [(1) ]()
Copy code
javascript
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) ]()
Copy code
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) ]()
​ To learn more, see the sources I considered: [[1] Delete Phone Number](https://docs.retellai.com/api-references/delete-phone-number) [[2] Here is how that can be fixed](https://retell.discourse.group/t/here-is-how-that-can-be-fixed/23) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.