Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  API Question

    Posted 03-30-2021 12:09

    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


    #Ask Me Anything (AMA)
    #ArchitectureandDesign
    #Integrations
    #Reporting/Analytics
    #Unsure/Other

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


  • 2.  RE: API Question

    GENESYS
    Posted 03-31-2021 14:24
    Edited by Matt Lawson 05-09-2022 09:34
    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
    ------------------------------



Need Help finding something?

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