Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Download single ACD voicemail via API

    Posted 03-07-2023 07:02

    Dear Community,

    downloading an ACD voicemail by open up the interaction involves many clicks. I am looking for a way to provide a download button in a script that downloads the voicemail.

    So far I have found that
    GET /api/v2/voicemail/messages/{messageId}/media?formatId=MP3
    returns, among other things, the URI for the download. Unfortunately, this doesn't work in a Data Action because the API insists on being called by a user and the Data Action doesn't use a user identifier.

    Question 1: Am I barking up the wrong tree here and it's not working for some other reason?

    If I understand correctly, I would need to set up an OAuth client with token implicit grant (browser) so that I can get a user token and then use the Data Action. I am failing at understanding this though.

    Question 2: Can someone post me an example of how to set up Implicit Grant for use within Genesys Cloud?

    Best regards
    Christoph

    Translated with www.DeepL.com/Translator (free version)


    #Implementation
    #Integrations

    ------------------------------
    Christoph Domaschke
    CRONBANK AG
    ------------------------------


  • 2.  RE: Download single ACD voicemail via API

    Posted 03-11-2023 16:49

    Yes, that is a bit of a problem at present.  I think they are looking at ways for supervisors/admins to see if a user has voicemail and either download or forward them, but nothing on roadmap I have seen.

    As for the implicit grant, you will want to look here:  Grant - Implicit (genesys.cloud)



    ------------------------------
    Robert Wakefield-Carl
    TTEC Digital, LLC fka Avtex Solutions, LLC
    Contact Center Innovation Architect
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: Download single ACD voicemail via API

    Posted 03-13-2023 03:47

    Hello Robert,

    thank you for your answer. I found a workaround which is not pretty but saves 5 clicks and the searching for the voicemail interaction: I open Genesys a second time via

     https://apps.mypurecloud.de/directory/#/engage/admin/interactions/<interaction-ID>

    in the script in a web window. With this I jump directly into the interaction. 

    I read the grant implicit thing several times and didn't understand it. But meanwhile I have the feeling that it is used for building third party applications and not meant to be used in Genesys Cloud Desktop.

    Best regards
    Christoph

    Translated with www.DeepL.com/Translator (free version)



    ------------------------------
    Christoph Domaschke
    CRONBANK AG
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources