Akash Malhotra
08/29/2025, 1:27 PMAkash Malhotra
08/31/2025, 4:16 AMAkash Malhotra
08/31/2025, 4:16 AMChiranjeet Mishra
09/01/2025, 4:05 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 Trunk Name",
"gateways": [{
"ip": "YOUR_SIP_DOMAIN",
"inboundEnabled": false
}]
}'
Replace YOUR_VAPI_PRIVATE_KEY and YOUR_SIP_DOMAIN with your actual API key and Plivo SIP domain.
3. Associate Phone Number: Link your external phone number with this credential using a similar API call.
For further details, you can refer to our [Plivo SIP Integration Guide](https://docs.vapi.ai/advanced/sip/plivo). If you run into specific error messages during this process, please kindly provide those details for more directed assistance.