This function calls the CT7 url configured to start a new chat.
Status |
---|
colour | Yellow |
---|
title | http post |
---|
|
Authorization:
Request Body:
Type:
Name | Mandatory | Type | Description |
---|
cid | | | Unique contact identifier |
media | | | Identifies media channel |
serv | | | Unique service identifier |
event | | | Identifies event: new |
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,
media: "chat",
serv: contact.servid,
event: "new",
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
} |