Can assistantOverrides be used for inbound calls?

Hi,

For outbound calls, I’ve been successfully using assistantOverrides to override settings like voice, firstMessage, and variableValues.

For inbound calls, can I return something like the following in the
assistant-request
webhook response and have it applied in the same way?

{
"assistantId": "assistant-id",
"assistantOverrides": {
"voice": {
"provider": "11labs",
"voiceId": "voice-id",
"language": "ja",
},
"firstMessage": ""
}
}

Reference
https://docs.vapi.ai/server-url/events#retrieving-assistants

Thanks!
Learn about different events that can be sent to a Server URL.
Was this page helpful?