Zwigge
09/24/2024, 8:03 PMVapi
09/24/2024, 8:05 PMserverUrl parameter in the call object. This allows you to specify a different webhook endpoint for each call, enabling you to build multiple dynamic voice agents that trigger different webhooks.
Here's how you can do it:
1. Include the serverUrl parameter in the call object when initiating the call. This URL will be used for the "assistant-request" instead of the one stored in the organization's settings.
2. If you have a secret associated with the serverUrl, you can also include assistantOverrides.serverUrlSecret in the call object to ensure secure communication with the webhook endpoint.
By using these parameters, you can dynamically set the webhook endpoint for each call, allowing for a flexible and scalable solution for handling inbound calls with different requirements.
If you need to execute this now, please provide me with the necessary serverUrl and any other relevant parameters, and I can help set up the call for you. If you have any further questions or need assistance with another approach, feel free to ask!Vapi
09/24/2024, 8:05 PMZwigge
09/24/2024, 8:12 PMSahil
09/24/2024, 9:09 PM