why does my agent work perfectly by
# general-english
v
why does my agent work perfectly by clicking 'Talk to Assistant' in vapi, but when i call it via a webhook to initiate the call and call me, then why does the ai not know whats going on, its more stupid ? anyone else have this issue ? https://cdn.discordapp.com/attachments/1211484481848873020/1385677592316608653/image.png?ex=6856f052&is=68559ed2&hm=a69bfa4daaf94b5f79f96094f0161bbf385aeca80ff01c9dedbbe3583198f693&
k
Preservesession IDs and ensuring your webhook responds with valid 200 OK and JSON like {"results": [{"toolCallId": "...", "result": "Your response"}]} using the correct Content-Type..
v
so how can i check this? on api.vapi.ai/api ?
k
You can test your Vapi webhook by using the “Send Test Payload” or “Talk to Assistant” features in the Vapi dashboard, then check Webhook Logs to verify your server responded with a
200 OK
,
application/json
content type, and a properly formatted JSON body containing the correct
toolCallId
and result..
3 Views