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.
endedReason field in the API response. If its value is voicemail, this indicates the call was ended due to voicemail detection.⤵️ Mention @Vapi Support Bot for follow-ups 🐥
googleendedReason in the GET /calls/{id} response is "voicemail" use webhooks or serverMessages` to receive the full end-of-call report..voicemailGET /calls/{id}"voicemail" use webhooks or {
"endedReason": "voicemail"
}