Marcello
11/19/2025, 11:42 AMChiranjeet Mishra
11/19/2025, 8:01 PMbash
curl -X POST https://api.vapi.ai/credential \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
-d '{
"provider": "byo-sip-trunk",
"name": "Telnyx Trunk",
"gateways": [
{ "ip": "sip.telnyx.com", "inboundEnabled": false }
],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_USERNAME",
"authPassword": "YOUR_SIP_PASSWORD",
"sipRegisterPlan": { "realm": "sip.telnyx.com" }
}
}'
Replace YOUR_VAPI_PRIVATE_KEY, YOUR_SIP_USERNAME, and YOUR_SIP_PASSWORD with your credentials.
2. **Configure Telnyx Account**:Go to the [Telnyx Portal](https://portal.telnyx.com/#/outbound-profiles) to set up or select the outbound voice profile. Under "Connections and Applications," add Vapi.
3. Assign Numbers:
- Navigate to the Vapi dashboard to assign your numbers. Go to the Phone Numbers tab and configure inbound and outbound settings for your voice assistant.
4. **Allowlist Vapi IPs**:Ensure all necessary IPs are allowlisted for SIP traffic: 44.229.228.186/32 and 44.238.177.138/32.
These steps should help establish the Telnyx SIP integration with Vapi. For additional details, refer to the [Telnyx SIP integration guide](https://docs.vapi.ai/advanced/sip/telnyx). If you encounter issues, checking your API request for correct credential inputs often resolves setup errors.Marcello
11/20/2025, 5:32 AMChiranjeet Mishra
11/22/2025, 12:17 AMMarcello
11/24/2025, 7:26 AMMarcello
11/24/2025, 7:28 AMChiranjeet Mishra
11/26/2025, 5:13 AM