Anders
09/11/2025, 3:08 PMVapi Support Bot
09/11/2025, 3:09 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" }],
"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 actual credentials. This should resolve the credential error if your SIP details are correct.
Source:
- [Vapi Docs: Telnyx SIP Integration](https://docs.vapi.ai/advanced/sip/telnyx)Anders
09/11/2025, 3:19 PMAnders
09/11/2025, 5:03 PMChiranjeet Mishra
09/15/2025, 4:01 PMsip.vapi.ai
- Port: 5060
- Set inbound settings
- Set your number’s Translated Number to match your Vapi SIP URI
2. Set up outbound authentication
- In Telnyx, go to Voice → SIP Trunking → Authentication
- Create new SIP credentials for Vapi
- Configure an outbound voice profile
3. Add credentials in Vapi via API
curl -X POST https://api.vapi.ai/credential \
-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"}
}
}'
If the direct import continues to fail, we recommend trying the SIP trunk integration as an alternative.