Ahmad
12/15/2025, 8:13 AMVapi Support Bot
12/15/2025, 8:14 AMbash
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": "Your Number",
"number": "YOUR_PHONE_NUMBER",
"numberE164CheckEnabled": false,
"credentialId": "YOUR_CREDENTIAL_ID"
}'
Replace the placeholders with your actual details. This should help you import your number—make sure your SIP trunk is set up and network requirements are met as described in the documentation.
More details: [Vapi SIP Trunk Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)
Source:
- [Vapi SIP Trunk Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)Chiranjeet Mishra
12/16/2025, 3:17 AMYOUR_PHONE_NUMBER and YOUR_CREDENTIAL_ID.
4. Test the Setup:
- Conduct outbound and inbound call tests to ensure proper configuration.
- Verify call routing using Vapi's dashboard or API.
Ensure your network settings allow for the required SIP traffic as specified in the documentation.
If these steps don't resolve your issue, ensure your SIP provider settings and network configurations are correct.