Faraaz
08/06/2025, 12:33 AMVapi Support Bot
08/06/2025, 12:34 AMbash
curl -L 'https://api.vapi.ai/credential' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_PRIVATE_KEY' \
-d '{
"provider": "byo-sip-trunk",
"name": "Zadarma Trunk",
"gateways": [{ "ip": "sip.zadarma.com" }],
"outboundLeadingPlusEnabled": true,
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_NUMBER",
"authPassword": "YOUR_SIP_PASSWORD"
}
}'
Double-check your SIP number, password, and private key for typos or missing values, as incorrect credentials are a common cause of this error.
[See full Zadarma SIP integration steps](https://docs.vapi.ai/advanced/sip/zadarma)
Source:
- [Zadarma SIP Integration](https://docs.vapi.ai/advanced/sip/zadarma)Faraaz
08/06/2025, 1:04 AMVapi Support Bot
08/06/2025, 1:05 AMbash
curl -L 'https://api.vapi.ai/credential' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_PRIVATE_KEY' \
-d '{
"provider": "byo-sip-trunk",
"name": "Zadarma Trunk",
"gateways": [{ "ip": "sip.zadarma.com" }],
"outboundLeadingPlusEnabled": true,
"outboundAuthenticationPlan": {
"authUsername": "YOUR_SIP_NUMBER",
"authPassword": "YOUR_SIP_PASSWORD"
}
}'
Be sure to replace YOUR_PRIVATE_KEY, YOUR_SIP_NUMBER, and YOUR_SIP_PASSWORD with your actual credentials.
[Full Zadarma SIP integration guide](https://docs.vapi.ai/advanced/sip/zadarma)
Source:
- [Zadarma SIP Integration](https://docs.vapi.ai/advanced/sip/zadarma)Vapi Support Bot
08/06/2025, 3:44 AMChiranjeet Mishra
08/07/2025, 1:14 PMperson a
08/16/2025, 2:19 PMperson a
08/16/2025, 2:46 PMChiranjeet Mishra
09/26/2025, 7:11 AM{
"provider": "byo-sip-trunk",
"name": "My SIP Trunk",
"gateways": [
{
"ip": "sip.provider.com",
"port": 5060,
"outboundEnabled": true,
"inboundEnabled": false,
"outboundProtocol": "udp"
},
{
"ip": "203.0.113.10",
"port": 5060,
"outboundEnabled": false,
"inboundEnabled": true
}
]
}
Once you have configured the SIP trunk, you will receive a value for credentialId. Save that and use it for the next step of assigning the SIP trunk to a phone number, as that is a required value for setting up the phone number.
If you encounter any issues with the setup, please feel free to reach out.