Ruski
11/11/2025, 4:27 AMhttps://api.vapi.ai/assistant/:id
4. I then request VAPI assistant to confirm its the correct booking by asking the caller to confirm their name.
5. Once confirmed, I want VAPI to resume my n8n workflow by calling a tool that will continue to update/cancel a booking. I intentionally leave the server URL field of the tool empty as documentation mentions the priority will default up the ladder to the assistant server url.
This is where my issue arises, it does not default to the assistant server url (i can see it was set successfuly via the API call response) in turn erroring out my workflow and agent.Vapi Support Bot
11/11/2025, 4:28 AMRuski
11/11/2025, 4:29 AMRuski
11/11/2025, 7:01 PMVapi Support Bot
11/11/2025, 7:02 PMassistant.server.url via PATCH may not take effect for tools invoked within an ongoing session. To ensure the updated URL is used, try ending the current call/session and starting a new one after updating the assistant's server URL.
Example:
bash
# Update assistant.server.url
PATCH https://api.vapi.ai/assistant/:id
# Start a new call/session to pick up the new URL
For more details, see the [server URL priority documentation](https://docs.vapi.ai/server-url/setting-server-urls).
Source:
- [Setting Server URLs | Vapi Documentation](https://docs.vapi.ai/server-url/setting-server-urls)Ruski
11/11/2025, 7:55 PMVapi Support Bot
11/11/2025, 7:56 PMtool.server.url via API takes effect in real-time during an ongoing session. To ensure the updated URL is used, the safest approach is to update the tool's server URL before the session starts or to restart the session after making the change.
Example API call to update a tool's server URL:
bash
PATCH https://api.vapi.ai/tool/<tool-id>
Content-Type: application/json
Authorization: Bearer <YOUR_API_KEY>
{
"server": {
"url": "https://your-new-endpoint.com/webhook"
}
}
For best results, apply the update before invoking the tool in a new session.
See: [Vapi server URL documentation](https://docs.vapi.ai/server-url/setting-server-urls)
Source:
- [Setting Server URLs | Vapi Documentation](https://docs.vapi.ai/server-url/setting-server-urls)Ruski
11/11/2025, 8:10 PMChiranjeet Mishra
11/12/2025, 11:53 PM