hugopdvn
05/28/2024, 2:16 PMVapi Support
05/28/2024, 2:16 PMVapi Support
05/28/2024, 2:17 PMcurl
curl --request PATCH \
--url https://api.vapi.ai/phone-number/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"serverUrl": "<your_server_url>"
}'
This command updates the server URL for the specified phone number. Make sure to replace {id} with the actual ID of the phone number and <your_server_url> with the URL you want to set [(1)]() .
For more details on how to set server URLs at different levels in Vapi, you can refer to the documentation on setting server URLs [(2)]() .Sahil
05/28/2024, 2:48 PMVapi Support
05/28/2024, 2:49 PM