Unable to import Telnyx number
# support
r
I've tried to add my Telnyx number two ways, but both fail and receive the same error: "Couldn't Update Telnyx Number. Error: Request failed with status code 401" 1. Direct import through the Vapi dashboard 2. Create phone number through the API. POST https://docs.vapi.ai/api-reference/phone-numbers/create I have previously imported a Telnyx number using both methods in the past, but now it's failing. Org id: 54bffd5c-01d2-4cb9-a64a-91f0b56bbe7c Any help with this one? https://cdn.discordapp.com/attachments/1428391246346453132/1428391246665224313/Screenshot_2025-10-16_at_9.28.14_AM.png?ex=6942c003&is=69416e83&hm=a8898b66b31a50c39798c715c04b6d615962f6a5e5a7f154d496b2fb99e96b02&
g
Try importing it using postman, that should work..
curl -X POST https://api.vapi.ai/phone-number \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \ -d '{ "provider": "byo-phone-number", "name": "Telnyx SIP Number", "number": "YOUR_PHONE_NUMBER", "numberE164CheckEnabled": false, "credentialId": "YOUR_CREDENTIAL_ID" }'
Paste this on you postman account and edit the required details like your vapi private key, phone number and credential ID
r
For anyone else coming across this, I needed to: 1. Create a [SIP Trunk with Telnyx](https://docs.vapi.ai/advanced/sip/telnyx) 2. Import a phone number with the POST request above Then it worked. Is direct import with Telnyx no longer supported? @GIDEON I'm trying to understand why the SIP worked and not direct method as [documented in the import instructions](https://docs.vapi.ai/telnyx) ?
g
@ronnypg So far so good the SIP Integration on Telnyx has been working fine but can’t say the same for direct importation through Vapi without giving some issues..
c
Hi ronnypg, To import Telnyx numbers to the Vapi platform and enable outbound calling, please follow these steps: 1. Ensure you have an active Telnyx account with the desired phone numbers. 2. Go to the [Telnyx Portal](https://portal.telnyx.com/#/outbound-profiles) and set up or select an outbound voice profile. 3. Under "Connections and Applications," add Vapi as a connection and save the configuration. For SIP integration, complete these: 1. In your Vapi account, copy your Private Key from Organization Settings. 2. Set up your Telnyx SIP trunk by adding the
sip.vapi.ai
as the FQDN with port 5060. 3. Assign the phone number to the SIP trunk and configure the inbound settings to match your Vapi SIP URI. 4. Create a credential for Vapi in the "Outbound calls authentication" section of the Telnyx portal. For detailed setup instructions, please refer to this [Telnyx SIP integration](https://docs.vapi.ai/advanced/sip/telnyx) guide. Feel free to ask if you have more questions.
Hello,Sorry for the inconvenience and thanks for your patience. Don’t hesitate to contact us again let us know if you need further assistance.
r
Is the Telnyx SIP integration the new flow to follow? Is the documentation for [importing a Telnyx number](https://docs.vapi.ai/telnyx) outdated/deprecated? I'm trying to understand why the SIP integration worked and not direct import method.
g
@ronnypg i can tell that this is something I tried last week and it worked, hence I hope so..
c
Thank you for providing this information.We’ll be looking into it further to better understand the situation and determine the next steps. Our team will update you as soon as we have more details, and we truly appreciate your patienc