How do I check if a received voicemail is part of a specific call queue?

Hi everyone,

I am going to use “phone.voicemail_received” webhook.

For every voicemail I receive of extension type “callQueue”, I need to check if they are part of a specific Call Queue.

I can get the Voicemail’s unique ID from above webhook, can also see if the extension type is “callQueue” or not but I am unable to find the right API where I can just put the unique id of voicemail and see if it’s a part of a specific call queue or not.

Please let me know how I can do that.

Thank you.

Guessing you’re going to have to retrieve that call queue’s members and mesh the two?