Bold360 and BoldChat Developer Center

updateChat

Adds or modifies data, including custom content, to a specified chat.

Input parameters

Parameter Type Required Description
ChatID numeric - ID code Yes The chat to access or modify.

<API field name>

string

No

The listed API field names can be updated on the chat record with the given value. Supported fields are:

  • UserStatusID
  • UserCategoryID
  • CustomField1ID
  • CustomField2ID VisitRef
  • VisitInfo
  • VisitEmailAddress
  • VisitPhone
  • ChatName
  • LastName
  • InitialQuestion
  • ChatUrl
  • CustomUrl
  • CountryCode
  • RegionCode
  • City
  • ScheduleHistoryToEmailAddress
  • CustomFields.<name>
  • OperatorCustomFields.<name>

OperatorCustomFields.<name>

string

No

The operator (agent) custom field value to set.

Request format

curl "https://api.boldchat.com/aid/$accountID/data/rest/json/v1/updateChat?auth=$authHash&ChatID=$ChatID"

Return values

None.