ivrig
09/25/2025, 6:03 PMVapi Support Bot
09/25/2025, 6:04 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": "My SIP Trunk",
"gateways": [{ "ip": "YOUR_SIP_DOMAIN", "inboundEnabled": false }],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_USERNAME",
"authPassword": "YOUR_SIP_PASSWORD"
}
}'
If this still fails, double-check for extra spaces or hidden characters in your credentials, and ensure your SIP provider supports the authentication method you're using.
More details: [Vapi SIP Trunking Guide](https://docs.vapi.ai/advanced/sip/sip-trunk)
Source:
- [SIP Trunking](https://docs.vapi.ai/advanced/sip/sip-trunk)ivrig
09/25/2025, 6:09 PMChiranjeet Mishra
09/29/2025, 6:31 PMDamir
10/16/2025, 3:18 AMChiranjeet Mishra
10/17/2025, 11:23 PMsip.vapi.ai) Inbound and outbound cannot be on the same gateway.