Genesys Cloud (formerly PureCloud)

Discussion Thread View
Expand all | Collapse all

API Question

  • 1.  API Question

    Posted 15 days ago

    If we want to pull all of the Conversation Details out of PureCloud to import into a back end database, what is the best API to use and how often does it need to be pulled??

    Also, we only want to pull completed interactions into the back end database can we put a qualifier in the API to open pull data for interactions that are completed.

    Thanks in advance,

    Bryan De La Cruz


    #AskMeAnything(AMA)
    #ArchitectureandDesign
    #Integrations
    #Reporting/Analytics
    #Unsure/Other

    ------------------------------
    Bryan De La Cruz
    Island Mountain Development Group
    ------------------------------


  • 2.  RE: API Question

    GENESYS
    Posted 14 days ago
    Edited by Jim Crespino 14 days ago
    Bryan,

    The Analytics API, which is part of the Genesys Cloud Platform API is your ticket to all of that: https://developer.mypurecloud.com/api/rest/v2/analytics/.  If you look in the panel on the left side of that page there are some specific topics that will probably interest you such as "Analytics Overview" and "Conversation Details Query" and "Conversation Details Job".

    To get only completed conversations you'll need to use a segment filter to specify that you only want conversations that have an ending time.

    If you want to actually play with the Analytics API then go to https://developer.mypurecloud.com and in the "Tools" section click on the "Analytics Query Builder" and you can build and execute live queries against your org to make sure you are getting the results you expect before you start to write code.

    If you have any question then please visit the Developer Forum at https://developer.mypurecloud.com/forum.

    Good luck,

    ------------------------------
    Jim Crespino
    Senior Director, Developer Evangelism
    Genesys
    https://developer.genesys.com
    ------------------------------