Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The service returns the transcript based on the ChatID regardless of whether it is concluded or not

Tip

Status
colourGreen
titleHTTP GET
/livechat/:domain/getContactTranscriptByChatID/:chatId

Path Variables:

Name

Mandatory

Type

Description

domain

Status
colourRed
titleyes

Status
titleSTRING

Unique domain identifier

chatId

Status
colourRed
titleyes

Status
colourRed
titleyes

Unique chat identifier

Headers:

...

Name

...

Mandatory

...

Type

...

Description

...

ctlivetoken

...

Status
colourRed
titleYES

...

Status
titleSTRING

...

Authorization: see Authentication mechanisms

Response:

Type:
Status
titleJSONp

Name

Type

Description

result

Status
titleboolean

If true, the service response was performed correctly

error

Status
titlenull
/
Status
titlestring

Contains the error description if an error has occurred in the request

isChatActive

Status
titleboolean

true if chat is still active, otherwise false

chatTranscript

Status
titlearray

array of message objects

Example:

Request

http://<hostname>:<port>/livechat/default/getContactTranscriptByChatID/CHAT_DEFAULT_60bd7ddf-658b-442d-a8d3-2abef8c5fb35

...