Setup: IVR -> Transfer to user voicemail -> Voicemail email with .wav attachment.
We would like to know, if there's a possibility to validate the communicate voicemail email got triggered for a particular conversation, given if we have the interaction ID.
Using the conversation details API, we can see if the calls has a voicemail segment or not. But this is applicable for all the calls which enters the voicemail flow, even if customer didn't record any voicemail and disconnects prematurely.
Please let us know if we can achieve this with any endpoint or a combination of APIs.
No, I don't think it is possible (assuming you are using OAuth Client Credentials Grant flow to get an access token to run your queries).
The information on the voicemail messageId is unfortunately not present in the conversation context or in the conversation details.
As you are sending the call to a user's voicemail, only the logged in user (token related to this user) can check if he has some voicemails using GET /api/v2/voicemail/me/messages.