Skip to main content

I'm calling the message-store endpoint and see the attachment URI, but when I attempt to view or download the file, it's binary data, and I can't play it or anything.


Am I missing something about how I should actually obtain the file or link to it for playback?


I'm attempting to send voicemail messages into Slack so that they can be played by teammates that miss calls.


I feel silly, since I don't see this being asked by anyone else and I'm not sure how/if anyone else is trying to do something similar.

Yes voidemail is binary. You can save it as a *.wav file. Once you have the *.wav file, you can play it or send it to Slack. I have no experience with Slack so I cannot guide you further.
You can get link to a message attachment URI from message (for example, https://developer.ringcentral.com/api-docs/latest/index.html#!#RefGetMessageInfo). If you try to download a voicemail attachment you will get a binary file with Content-Type header set to either "audio/mp3" or "audio/wav" (uncommon). See also this link: https://developer.ringcentral.com/api-docs/latest/index.html#!#RefMessageAttachment.html

Reply