extended-salmon•3mo ago
How can I tell if voicemail detection was the reason a call ended from the get calls endpoint?
I can see it in the logs in the dashboard, but it doesn't look like I can retrieve logs from the get call API.
3 Replies
To determine if voicemail detection was the reason a call ended using the Get Calls endpoint, check the
This field is designed to summarize the main reason for call termination, including voicemail scenarios.
See more details in the Vapi docs Sources: - Call ended reasons Vapi Docs - Get Call API Reference
endedReason
field in the API response. If its value is voicemail
, this indicates the call was ended due to voicemail detection.
Example:This field is designed to summarize the main reason for call termination, including voicemail scenarios.
See more details in the Vapi docs Sources: - Call ended reasons Vapi Docs - Get Call API Reference
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
extended-salmonOP•3mo ago
I am getting a "Customer Did Not Answer" for ended reason - and I need to be able to detect the machine detection results in the logs
14:54:44:258
[LOG]
Customer detected as voicemail by
google
equal-aqua•3mo ago
You can tell if voicemail detection ended a call by checking if the
endedReason
in the GET /calls/{id}
response is "voicemail" use webhooks or
serverMessages` to receive the full end-of-call report..