emre
11/18/2025, 7:06 PMVapi Support Bot
11/18/2025, 7:07 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": "Your Custom Trunk",
"gateways": [{ "ip": "your-sip-provider.com", "inboundEnabled": false }],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_USERNAME",
"authPassword": "YOUR_SIP_PASSWORD"
}
}'
Replace the placeholders with your actual SIP provider info.
For more details, see the [Vapi SIP trunk documentation](https://docs.vapi.ai/advanced/sip/sip-trunk).
Source:
- [Vapi SIP Trunk Documentation](https://docs.vapi.ai/advanced/sip/sip-trunk)Vapi Support Bot
11/18/2025, 7:13 PM