TrevorM
08/26/2025, 8:02 PMChiranjeet Mishra
08/28/2025, 5:13 PMbash
curl -X POST https://api.vapi.ai/phone-number \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_PRIVATE_API_KEY" \
-d '{
"provider": "byo-phone-number",
"name": "Your Phone Number",
"number": "YOUR_PHONE_NUMBER",
"numberE164CheckEnabled": false,
"credentialId": "YOUR_CREDENTIAL_ID"
}'
Refer to the [Create Phone Number Documentation](https://docs.vapi.ai/api-reference/phone-numbers/create) for further details.
2. **Network Configuration**: Ensure that the necessary IP addresses are allowlisted for SIP signaling and media. The IPs 44.229.228.186/32 and 44.238.177.138/32 should be allowed as part of your network configuration.
Check the [SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk) for specific network requirements.
3. **Assistant Configuration**: Confirm that your Vapi assistant configuration correctly links the phone number with the assistant's settings. The assistant must be active and correctly handle inbound call workflows.
Please verify these points, and let me know if the issue persists.