Get transcript for a conversation- unable to get communication id

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?

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,

2 Likes

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