Webhooks Detect New Voice Mail

  • 1
  • Problem
  • Updated 3 years ago
What is the proper way to use Webhooks to detect new voicemails?

According to the documentation, I should be able to trigger on "Object" and select "vmbox" with an action of "doc_created," but nothing happens. Is this a bug, or incorrect usage? I've even tried "media" thinking it creates a recording, but nothing happens there either. 

If I select the "All" trigger, I do receive a type: "mailbox_message" with an action of "doc_created." I would rather not have to receive "All" triggers, so is there a cleaner way to trigger on the creation of a new voicemail?
Photo of FASTDEVICE

FASTDEVICE

  • 175 Posts
  • 18 Reply Likes

Posted 3 years ago

  • 1
Photo of FASTDEVICE

FASTDEVICE

  • 175 Posts
  • 18 Reply Likes
One other thought, would it be possible to include the mailbox and owner (if assigned) in the hook? This way I don't have to iterate through the voicemail boxes to find the owner cutting down on I/O.