Mike
01/29/2025, 5:02 PMAtlas
01/29/2025, 5:02 PMVapi
01/29/2025, 5:06 PMVapi
01/29/2025, 5:06 PMbash
curl -X PATCH 'https://api.vapi.com/provider-settings' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-d '{
"new_provider": {
"name": "New SIP Provider",
"credentials": {
"username": "new_provider_username",
"password": "new_provider_password"
},
"sip_server": "sip.newprovider.com"
}
}'
Please replace https://api.vapi.com/provider-settings
, YOUR_API_TOKEN
, and the provider details with the actual values.
If you need further assistance with this process or if you're unsure about the correct API endpoint or method to use, please ask support for more info on this. They will be able to provide you with the specific steps and guidance for your VAPI account.Mike
01/29/2025, 5:17 PMVapi
01/29/2025, 5:17 PMContent-Type
and Authorization
.
- Add the data payload if you're sending a POST or PATCH request.
3. Execute the cURL command:
- Copy the prepared cURL command.
- Paste it into your CLI.
- Press Enter to execute the command.
The server response will be displayed in your CLI after the command is executed. If you're adding a new SIP provider or updating settings, make sure to replace placeholder values in the cURL command with actual data required by VAPI.
If you're unsure about the API endpoint or the data you need to include in your cURL command, please refer to the VAPI documentation or contact their support team for assistance.Mike
01/29/2025, 5:47 PMVapi
01/29/2025, 5:47 PMMike
01/29/2025, 5:49 PMVapi
01/29/2025, 5:49 PMMike
01/29/2025, 5:49 PMShubham Bajaj
01/30/2025, 9:18 AMShubham Bajaj
01/30/2025, 9:19 AMShubham Bajaj
02/03/2025, 5:05 AMMike
02/03/2025, 5:50 PMShubham Bajaj
02/03/2025, 5:51 PMMike
02/03/2025, 5:52 PMMike
02/03/2025, 7:18 PMShubham Bajaj
02/04/2025, 10:22 AMMike
02/04/2025, 11:42 AMShubham Bajaj
02/06/2025, 8:14 AMMike
03/26/2025, 3:48 PMPraveen
03/29/2025, 10:31 AM