Bold360 and BoldChat Developer Center

addChatMessage

Adds a text message to a specified chat record.

Input parameters

Parameter Type Required Description
ChatID numeric - ID code Yes The chat to access or modify.
Type codes - set values Yes The person type for the message. Values include:
  • Operator
  • Visitor
  • System
Name string No The name to associate with this message.
Message string No The text of this message.
ChatMessageID numeric - ID code No The unique identifier to store this message as.
OperatorID numeric - ID code No The operator / agent to access or modify.

Request format

curl "https://api.boldchat.com/aid/$accountID/data/rest/json/v1/addChatMessage?auth=$authHash&ChatID=$ChatID,OperatorID=$OperatorID,Forced=True"

Return values

None.