Conversation

Get conversation transcript

DEPRECATED: Use GET /conversation/:conversationId instead

get/v1/conversation/transcript/{conversationId}

Headers

x-lorikeet-voice-public-keystring required

Response

Get a transcript for a conversation

transcriptstring required

The transcript of the conversation

customAttributesobject required

The custom attributes of the conversation

callRecordingLinkstring

The link to the call recording if this is a voice ticket and the recording has been processed. The returned URL is a signed URL that will expire in 1 hour

callDurationnumber

The duration of the call in milliseconds

summarystring

The summary of the conversation

customerobject

Customer information including email, name, and phone number

tagsstring[]

Tags applied to the conversation

csatScorenumber

Customer satisfaction score (1-5 rating from customer feedback)

csatCollectedAtobject

When the CSAT score was collected (ISO 8601 format)

Example response

{
  "transcript": "Customer at Mon, 01 Jan 2024 10:00:00 GMT:\nHello, I need help\n\nAgent at Mon, 01 Jan 2024 10:01:00 GMT:\nHow can I assist you?",
  "customAttributes": {
    "attribute1": true,
    "attribute2": "AGENT"
  },
  "callRecordingLink": "https://example.com/call-recording.mp4",
  "callDuration": 120000,
  "summary": "This is a summary of the conversation. This field is asynchronously generated after the conversation ends.",
  "customer": {
    "email": "john.doe@example.com",
    "name": "John Doe",
    "phoneNumber": "+61400000000"
  },
  "tags": [
    "refund",
    "escalated"
  ],
  "csatScore": 4
}

Changes