https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can you port numbers over from Zendesk into Retell
# ❓・ai-evy-support
l
@AI Evy Can you port numbers over from Zendesk into Retell?
a
Thanks for tagging me @Liquidsushi. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[2] Connect AI call agent to Zendesk](https://www.retellai.com/integrations/zendesk) ​
### Answer Yes, you can import phone numbers into Retell AI from custom telephony providers. [(1) ]() Retell supports importing numbers through their API using the
/import-phone-number
endpoint. To import a phone number, you'll need to provide the phone number in E.164 format and a termination URI that uniquely identifies your SIP trunk. For example, with Twilio elastic SIP trunks, the termination URI always ends with ".pstn.twilio.com". Here's the code example for importing a phone number:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: process.env['RETELL_API_KEY'], // This is the default and can be omitted
}) ;
const phoneNumberResponse = await client.phoneNumber.import({
 phone_number: '+14157774444',
 termination_uri: 'someuri.pstn.twilio.com',
}) ;
console.log(phoneNumberResponse.inbound_agent_id) ;
You can also configure optional authentication credentials (
sip_trunk_auth_username
and
sip_trunk_auth_password
) and bind agents to the number for inbound or outbound calls. While Zendesk integration is mentioned as available through custom API integrations or Retell's integration partners [(2) ]() , the specific process for porting numbers from Zendesk would depend on your telephony provider setup.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.