Mahmood
11/18/2025, 9:18 PMMahmood
11/18/2025, 9:18 PMVapi Support Bot
11/18/2025, 9:19 PMVapi Support Bot
11/18/2025, 9:19 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": "GHL Trunk",
"gateways": [{ "ip": "YOUR_GHL_SIP_SERVER_URL", "inboundEnabled": false }],
"outboundAuthenticationPlan": {
"authUsername": "YOUR_GHL_USERNAME",
"authPassword": "YOUR_GHL_PASSWORD"
}
}'
Make sure you have whitelisted Vapi's IPs (44.229.228.186/32 and 44.238.177.138/32) in your GHL/LeadConnector account, as missing this step can cause registration to fail. 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)Mahmood
11/18/2025, 9:19 PMChiranjeet Mishra
11/20/2025, 7:53 PM