DebrupRoyChowdhury | 2020-04-20 15:02:14 UTC | #1
I have an Architect flow that uses the "Transfer to Voicemail" action with a queue as the transfer target. A customer calls, records a message and sends the message. How long after sending this message can I call /api/v2/voicemail/messages/{messageId}/media to retrieve the voicemail recording link? I am guessing it shouldn't take long as the voicemail can have 3 minutes max length. I am looking for a safe time interval here such that if I query after that much time, I am guaranteed to get the recording link. Also, what's the API response if the recording is not ready? Is it a 200 with a blank response?
tim.smith | 2020-04-20 16:50:08 UTC | #2
DebrupRoyChowdhury, post:1, topic:7576
I am guessing it shouldn't take long
Correct. There is no specific SLA for when it will be ready.
DebrupRoyChowdhury, post:1, topic:7576
Also, what's the API response if the recording is not ready? Is it a 200 with a blank response?
GET /api/v2/voicemail/messages/{messageId}/media documents 200 as the only successful response. If you encounter a 202 (like the recording APIs will do) or any undocumented response, please open a case with Genesys Cloud Care to report the issue so it can be prioritized to be documented.
system | 2020-05-21 16:50:12 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 7576