Please note that this SDK relates to LivePersons legacy chat product which receives limited support and will be deprecated in the future.

It is recommended to build future integrations on top of the corresponding messaging SDK instead.

Sends a copy of the chat transcript to an email address at the end of the chat session. The response will echo the email data.



Value Description Type Required
email This must be a valid email address or the request will not be sent. string Required
timezoneOffset A number representing the time-zone offset from UTC, in milliseconds, for the date based on current host system settings. The number will be used to adjust the timestamps in the email string Optional

Sample code

var  failedRequest = myChat.requestTranscript({
    email: "",
    success: myChat.transcriptQueued,
    error: myChat.transcriptRequestFailed,
    context: myChat,
    timezoneOffset: -7200000

if(failedRequest && failedRequest.error){


Sample response

{ "email" : "" }