fabianbitter_15952
11/04/2025, 7:48 AMVapi Support Bot
11/04/2025, 7:50 AMbash
curl -X POST "https://api.vapi.ai/credential" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_API_KEY" \
-d '{
"provider": "byo-sip-trunk",
"name": "DTMS Trunk",
"gateways": [{ "ip": "sip.vapi.ai", "inboundEnabled": false }],
"outboundLeadingPlusEnabled": true
}'
After creating the credential, associate your phone number with it in Vapi. This should resolve the authentication error—see the [SIP trunk setup guide](https://docs.vapi.ai/advanced/sip/sip-trunk) for details.
Source:
- [SIP Trunking How to integrate your SIP provider with Vapi](https://docs.vapi.ai/advanced/sip/sip-trunk)fabianbitter_15952
11/04/2025, 8:07 AMfabianbitter_15952
11/04/2025, 8:10 AMSpoody
11/04/2025, 8:17 AMfabianbitter_15952
11/04/2025, 1:25 PMfabianbitter_15952
11/04/2025, 1:38 PMChiranjeet Mishra
11/06/2025, 2:18 AM