Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

How do we get Conversation ID and Communication ID to download the Chat transcript?

  • 1.  How do we get Conversation ID and Communication ID to download the Chat transcript?

    Posted 7 hours ago

    Hello Team, 

    we are using the Genesys Webmessaging, we would like to download the chat transcript of the conversation when customer ends the chat. Is this the correct API to call? if yes, how do we get the conversation ID and communication ID. This is for the Chat flow I'm asking for. 

    /api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturl

    #WebMessaging

    ------------------------------
    Kamesh S
    ------------------------------


  • 2.  RE: How do we get Conversation ID and Communication ID to download the Chat transcript?

    Posted 4 hours ago

    You can get both IDs from the conversation details:

    1. The conversationId is the ID of the Genesys interaction.
    2. Then, use this API to get the SessionID:
    • GET /api/v2/analytics/conversations/{conversationId}/details
    1. In the customer participant, look for the messaging session. The sessionId is the value you should use as the communicationId, then call the API:
    • GET /api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{sessionId}/transcripturl

    One thing to keep in mind is that the transcript may not be available immediately when the customer ends the conversation, since Speech and Text Analytics processing can occur after the interaction.



    ------------------------------
    Leonardo Teixeira
    NA
    ------------------------------