Learn about where you can set server URLs to handle call events.
Server URLs can be set at multiple levels in Vapi.
Organization
Setting your organization-wide server URL.
Phone Number
phoneNumber.serverUrl
will contain the server URL for the phone number.Assistant
In the Dashboard
Setting server URL at the assistant level.
Via the API
assistant.serverUrl
field.Function Call
In the Dashboard
Setting server URL at the function call level.
Via the API
assistant.model.functions[].serverUrl
.You can either set the URL for a function call at assistant creation, or in an assistant update.