Proactive Invite Endpoint

Send a visitor a proactive invitation

POST //developer.livehelpnow.net/api/chat/proactive_invite

Important:

The message will be broadcasted to all members of the specified chat.

Query Params

Name Expected Type Description
message required string The message that will be inserted into the chat
visitor_id required string The visitor ID to send the invite to

Result

{
 "status": "ok",
 "payload": {
  "chatMessage": "message"
  "createdTime": "2017-01-01T00:00:00Z"
  "fromName": "Operator Name"
  "messageId": 12345
  "messageType": 3
  "messageSubType": 9
  "operatorId": 12345
 }
}

chatMessage string The message that was sent for the invite
createdTime string The date and time the invite was sent
fromName string The name of the operator who sent the invite
messageId integer The unique message identifier
messageType integer The message type
messageSubType integer The message subtype
operatorId integer The unique idenitifer of the operator who sent the invite