Legacy Dev Forum Posts

 View Only

Sign Up

Get transcript for a conversation- unable to get communication id

  • 1.  Get transcript for a conversation- unable to get communication id

    Posted 06-05-2025 18:08

    Sindhuja_Dhamodaran | 2021-02-26 17:30:43 UTC | #1

    I am trying to get the transcript data for a conversation using the below api.

    https://api.mypurecloud.com/api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturl

    I know the conversation id and when i use the participant id as communication id for the customer participant, I get 404 error with resource not found.

    Whats the communication id I should use?


    Jerome.Saint-Marc | 2021-02-27 08:23:30 UTC | #2

    Hello,

    The communicationId corresponds to the id of the call/session for the first participant (i.e. customer's participant for an inbound call).

    If you invoke GET /api/v2/conversations/{conversationId}, this will correspond to the "id" of the call (call object in the "calls" array) in the customer's participant element.

    If you invoke GET /api/v2/analytics/conversations/{conversationId}/details, this will correspond to the "sessionId" of the session (session object in "sessions" array, with "mediaType" = "voice") in the customer's participant element.

    Regards,


    system | 2021-03-30 08:24:43 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 10107