Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Best to Use Conversations API or Analytics API to Get Call Data

    Posted 13 days ago

    I'm analyzing calls and I'm unsure which approach is best.

    I see that I can use the /conversations endpoints to get call details, but there are also Analytics endpoints for historical metrics.
    In what cases do you recommend using the Conversations API versus the Analytics API? Are there any limitations or significant differences in performance, latency, or level of detail?

    Any experience or recommendations are welcome.


    #PlatformAPI

    ------------------------------
    Jeanpierre Echevarria
    ------------------------------


  • 2.  RE: Best to Use Conversations API or Analytics API to Get Call Data

    Posted 12 days ago

    Hello, Jean.

    Here we have some extractions running after hour so we use /api/v2/analytics/conversations/details/jobs.

    Some api appear in both categories, and they are the same, so it will depend on your real necessity.

    For massive extractions /queries and /jobs will help a lot.



    ------------------------------
    Arthur Pereira Reinoldes
    ------------------------------



  • 3.  RE: Best to Use Conversations API or Analytics API to Get Call Data

    Posted 12 days ago

    Hi Jeanpierre,

    From what I see, it really depends on the use case, but a simple way to think about it is:

    • Conversations API → best for detailed, near real-time interaction data
    • Analytics API → best for reporting, bulk queries, and historical analysis

    If you need full interaction details (participants, segments, recordings, wrap-up, etc.), the Conversations API is the way to go. It's more real-time but not ideal for large-scale data extraction.

    On the other hand, the Analytics API is optimized for querying large volumes of data and is better suited for reporting and trend analysis. Endpoints like /analytics/conversations/details/query or /jobs work well for bulk extraction, especially for scheduled or after-hours processing.

    In a couple of use cases we've worked on, we ended up using a hybrid approach using Analytics to identify a set of conversations, and then calling the Conversations API to retrieve deeper details for those interactions.

    For example:

    • pulling scheduled callback data for a callback bot
    • retrieving detailed interaction data to push into a CRM (e.g. for case creation, linking conversation IDs, storing participant details, etc.)

    So the CRM typically sits downstream, Analytics helps you find the interactions, and Conversations API helps enrich the data before sending it to CRM.

    So it really comes down to:

    • Real-time / per interaction → Conversations API
    • Bulk / reporting → Analytics API

    Hope this helps 



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------