Conversation

Example

{
    "author": 
    {
        "id": "fc2481f6-28a4-4ca7-849a-344fd6ab1b20",
        "name": "John",
        "image": null,
        "email": "john@dow.com",
        "status": "client",
        "isBot": false
    },
    "creationTime": "2023-09-01T12:56:39.0847826+03:00",
    "feedback": null,
    "id": 254626,
    "isClosed": false,
    "isTakeoverEnabled": true,
    "lastModifiedTime": "2023-09-01T12:56:39.0847826+03:00",
    "messages": [
        {
            "author": {
                "id": "fc2481f6-28a4-4ca7-849a-344fd6ab1b20",
                "name": "John",
                "image": null,
                "email": "john@dow.com",
                "status": "client",
                "isBot": false
            },
            "creationTime": "2023-09-01T12:56:39.0847826+03:00",
            "id": 0,
            "lastModifiedTime": "2023-09-01T12:56:39.0847826+03:00",
            "message": "Hi, I have some questions about the Chat API"
        }
    ],
    "queuePositionInfo": 
    {
        "position": 1403,
        "waitTime": 15
    },
    "totalMessagesCount": 1
}

Fields

FieldTypeComments

author

User model

Conversation author

creationTime

string

Conversation creation time

feedback

Client satisfaction from conversation

id

integer

Conversation unique id

isClosed

boolean

If true, it indicates that the conversation is closed by agent or ended by client

isTakeoverEnabled

boolean

If true, it indicates that the conversation in takeover mode

lastModifiedTime

string

Conversation last modified time

messages

array of ConversationMessage models

Conversation messages

queuePositionInfo

Current position of conversation in the system. If -1 conversation not in queue and currently processed by agent

totalMessagesCount

integer

Total messages in conversation

Last updated