This function calls the CT7 url configured to end The configured webhook is called to notify the CTI about the end of a chat.
Method:
Status |
---|
colour | Yellow |
---|
title | http post |
---|
|
Authorization:
Request Body:
Type:
Name | Mandatory | Type | Description |
---|
cid | | | Unique contact identifier |
event | | | Identifies event: end |
serv_name | | | Service name |
beginTime | | / | Chat start time |
endTime | | / | Chat end time |
title | | | Chat title |
lang | | | Chat language |
userID | | | Unique user identifier |
users | | | An object that contains the participants to the chat room. |
dataCollections | | | An object that contains the chat data collections. |
widgetid | | | Unique widget identifier |
Example:
Request Body
Code Block |
---|
|
{
cid: contact.id,
event: "end",
serv_name: contact.serv_name,
beginTime: contact.beginTime,
endTime: contact.endTime,
title: contact.title,
lang: contact.lang,
userID: contact.userID,
users: contact.users,
dataCollections: contact.dataCollections,
widgetid: contact.widgetid
} |