recent-tealR
VAPI8mo ago
recent-teal

vapi is not read my response webhook

I’m currently encountering an issue with my voice assistant and webhook integration. Although my webhook is receiving a proper toolCallId and returning a valid JSON response with a message (confirmed via 200 status in logs), the assistant is not speaking the response out loud during the call.



Here’s what I’ve verified and implemented so far:

The webhook returns a 200 response with the structure:



{
"results": [
{
"toolCallId": "call_XXXXXXXXXXXX",
"result": {
"message": "This is the text that should be spoken."
}
}
]
}

or this: {

"results": [
{
"toolCallId": "{{ $('Webhook').item.json.body.message.toolCalls[0].id }}",
"result": {
"spokenResponse": "{{ $json.output }}"
}
}
]
}

or

"results": [
{
"toolCallId": "{{ $('Webhook').item.json.body.message.toolCalls[0].id }}",
"result": "{{ $json.output }}"
}
}
]
}

i really tried many JSON reponse - it will not work


The webhook is working correctly in test mode, and I receive the expected output in the logs.

However, during live calls, the assistant does not read the response out loud, even though everything else (like tool calls and branching) works fine.

I’ve also tried updating the field name from message to spokenResponse, as mentioned in your Discord and documentation, but it still had no effect.



Could you please confirm what exact response structure is required in the webhook for the assistant to speak the result out loud in real-time?

Is there any server setting, tool configuration, or mapping required that I may have missed?
Bildschirmfoto_2025-04-29_um_12.25.33.png
Bildschirmfoto_2025-04-29_um_12.27.06.png
Bildschirmfoto_2025-04-29_um_12.27.35.png
Bildschirmfoto_2025-04-29_um_19.23.19.png
Bildschirmfoto_2025-04-29_um_19.26.44.png
Was this page helpful?