RingCentral does not support this feature currently in the way I think you're hoping to achieve.
We do offer this from within the product as custom announcements/greeting. But it is precofigured (so not dynamic).
This is not configurable from the API at this time.
Per Benjamin, we do not have a text to speech API today but you can use a text to speech API such as the
Google Speech Synthesis API or the
IBM Watson Text to Speech API to create an audio file. From there, two options include:
- SMS: A link to the hosted audio file can be sent allow users to playback via the browser. We can support this today with SMS messages up to 1000 characters in length, but a URL shortener may be useful for aesthetics.
- MMS: The audio file can be directly set in the message allowing direct playback. We do not support this today, but it is on our roadmap.
You can send fax which contains an audio file. RingCentral API supports fax sending.
Not an ideal solution but good to know.