Evo Voice

<back to all web services

GetChatTranscript

Gets the specified transcript

Requires Authentication
Required role:User
The following routes are available for this service:
GET/sessions/{sessionId}/transcript
GetChatTranscript Parameters:
NameParameterData TypeRequiredDescription
SessionIdpathstringNothe session whose transcript you want to get
IncludeHistoricalquerybool?NoInclude previous messages from this chat party
HistoricalCutOffDatequerystringNoHow far back to include in historical messages. Max 6 months in past
GetChatTranscriptResponse Parameters:
NameParameterData TypeRequiredDescription
MessagesformList<ChatTranscriptMessage>No
ChatTranscriptMessage Parameters:
NameParameterData TypeRequiredDescription
DateformstringNo
FromformstringNo
BodyformstringNo
MediaUriformstringNo
MediaContentTypeformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /sessions/{sessionId}/transcript HTTP/1.1 
Host: evovoice.io 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"messages":[{"date":"String","from":"String","body":"String","mediaUri":"String","mediaContentType":"String"}]}