⤵️ Mention @Vapi Support Bot for follow-ups 🐥
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_SERVER_ADDRESS" }]
}'curl -X POST "https://api.vapi.ai/phone-number" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
-d '{
"provider": "byo-phone-number",
"name": "My Number",
"number": "YOUR_PHONE_NUMBER",
"credentialId": "YOUR_CREDENTIAL_ID"
}'