Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Capturing of Genesys System Disposed Wrap-up codes

    Posted 08-19-2025 01:41

    As part of our business requirements, we are working on an integration with Genesys to retrieve wrap-up codes via APIs. Based on the available documentation, we understand that the following endpoints can be used to retrieve wrap-up codes:

    • /api/v2/analytics/conversations/{conversationId}/details

    • /api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapup

    • /api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes

    These APIs are useful when a conversation has taken place. However, we would also like to retrieve details for calls that the Genesys system disposed of, e.g., those that do not have an associated conversationId.

    Could you please advise how such data can be retrieved, and which APIs would be appropriate in this scenario?

    Thank you for your guidance.

    Wong DJ


    #Integrations

    ------------------------------
    Wong DJ
    ------------------------------


  • 2.  RE: Capturing of Genesys System Disposed Wrap-up codes

    Posted 08-19-2025 09:02

    Hello,

    I am not sure what you mean by calls that the Genesys system disposed of. It would be useful to get an example.

    All conversations taking place in Genesys Cloud (calls, emails, chats, ...) will have a conversationId.

    Regards,



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------



  • 3.  RE: Capturing of Genesys System Disposed Wrap-up codes

    Posted 08-19-2025 21:06

    Hi Jerome, 

    For e.g. if we scheduled a call on an invalid number, voice mail, these calls will not returned back to agents, and we will not have information about these calls as it will be disposed from Genesys backend system without returning to agents. Our query is whether there is any APIs that we can use to retrieve back these calls and return back the statistic back to our system.

    Thanks & Regards,

    Wong DJ



    ------------------------------
    DJ Wong
    ------------------------------



  • 4.  RE: Capturing of Genesys System Disposed Wrap-up codes

    Posted 08-19-2025 22:36

    Does your back-end system have an API? most folks use a post-call rule to run a Data Action which writes the Wrap-up Code (or Disposition) to the back-end system



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 5.  RE: Capturing of Genesys System Disposed Wrap-up codes

    Posted 08-19-2025 23:24

    Hi George, 

    Does a post-call rule works similar to webhooks returning wrap-up codes back to our back end system API? If yes are you able to provide us with more details?

    Thanks & Regards,

    Wong DJ



    ------------------------------
    DJ Wong
    ------------------------------



  • 6.  RE: Capturing of Genesys System Disposed Wrap-up codes

    Posted 08-19-2025 23:39

    Not like webhooks, no. A Data Action has to be set up to authenticate to your back end system and send information via an API call to your system.

    https://help.mypurecloud.com/articles/create-custom-action-integrations/



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 7.  RE: Capturing of Genesys System Disposed Wrap-up codes

    Posted 08-29-2025 02:02

    Hi George,

    In essence, via conversationId we can retrieve back the wrap-up codes via APIs. Based on the available documentation, we understand that the following endpoints can be used to retrieve wrap-up codes:

    • /api/v2/analytics/conversations/{conversationId}/details

    • /api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapup

    • /api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes

    In our requirement, we would like to retrieve back wrap-up codes from Genesys System - those that do not have conversationId as there isn't any conversation happen, an example would be as per screenshot attached.

    Wrap-up: ININ-OUTBOUND-DISCONNECT

    Disconnect Type: System


    Can this be done with using Data Action? 
    Thanks & Regards,
    Wong DJ



    ------------------------------
    DJ Wong
    ------------------------------



  • 8.  RE: Capturing of Genesys System Disposed Wrap-up codes

    Posted 08-29-2025 06:23

    Hi,

    Those interactions will still have conversationId which you will see if you add the metric for it in the view.

    You could use POST /api/v2/analytics/conversations/details/query and filter on for  example wrap-up code or disconnectType to get all the conversations you're looking for.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------