Moe
05/23/2024, 4:46 PMVapi Support
05/23/2024, 4:46 PMVapi Support
05/23/2024, 4:46 PMserverUrlSecret through the API. Make sure that your request format adheres to the specifications detailed in the documentation. Here's an example of how you can structure your PATCH request to update serverUrlSecret for an assistant:
bash
curl --request PATCH \
--url https://api.vapi.ai/assistant/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"serverUrlSecret": "new_secret_here"
}'
[(1)]()
Ensure that you replace <id>, <token>, and new_secret_here with the appropriate values. If problems persist, it could be an issue with how the request is being sent or it might be a bug, and checking with the documentation or verifying the request format might be necessary.Sahil
05/23/2024, 4:46 PM