Server URL
# support
e
When I’m activating a squat, do I have to add the server URL inside of the advanced settings to every assistant who is integrated into the squad? Or what happen….?
v
You can continue this conversation by mentioning me in the message.
@Exideus_Systems When activating a squad, you do not necessarily have to add the server URL to every assistant's advanced settings individually. If you have a common server URL that you wish to use across all assistants in the squad, you can set it at a higher level that applies to all members, such as at the
org.serverUrl
or
phoneNumber.serverUrl
level, depending on your organizational structure and preferences. The server URL is used to determine where to send API requests, and the order of precedence for which URL to use is as follows: 1.
tool.server.url
(highest precedence) 2.
assistant.serverUrl
3.
phoneNumber.serverUrl
4.
org.serverUrl
(lowest precedence) This means that if a
tool.server.url
is specified for an assistant, it will override any other server URLs set at the phoneNumber or org level. If you want to ensure that all assistants in the squad use the same server URL without setting it individually for each one, you should set it at the appropriate level that applies to all of them. If you have any specific configurations or further questions about setting up your squad, please let me know, and I'll be happy to assist you further!
e
What would happen if I would add the server URL in particular to every of the four agents who are included in the squad?
v
@Exideus_Systems If you add the server URL specifically to each of the four agents included in the squad, each agent will use its own
tool.server.url
for API requests. This means that each assistant will send requests to the API endpoint specified in their individual settings, regardless of the
phoneNumber.serverUrl
or
org.serverUrl
. This configuration allows for greater flexibility, as you can specify different endpoints for each assistant if needed. However, if the intention is for all assistants to use the same server URL, setting it individually could lead to unnecessary repetition and make it more cumbersome to update the URL in the future, as you would need to change it for each assistant separately. In summary, setting the server URL for each agent individually will ensure that they use the endpoint you've specified for them, overriding any other server URL settings at the phoneNumber or organization level.
s
@Exideus_Systems server url is used for sending server events related to your assistant. Either you can use a single server url for all of your assistants or individual for each assistant Vapi will send the server events as it-is. Squads are just a way to group set of assistants together but they work and behave as individuals.
5 Views