Bold360 and BoldChat Developer Center

assignChat

Assigns a chat to a specific department or agent.

It is recommended to create a technical 'api' agent and use the 'AssignedByOperatorID' parameter with the id of that agent.

When used to reroute work in integrated environments and allow chats to be reassigned, the AssignedByOperatorID parameter should not be set.
  • AssignedByOperatorID not set: When a chat is assigned to an offline agent, the Automatic Chat Distribution system reassigns the chat to an available one.
  • AssignedByOperatorID set: When a chat is assigned to an offline agent, the chat is not reassigned.
Important: Answered chats can only be reassigned only when Forced parameter is set to true.

Input parameters

Parameter Type Required Description

ChatID

string id

yes

The chat identifier of the record to update

DepartmentID

string id

no

The department to assign the chat to

OperatorID

string id

no

The agent to assign the chat to

AssignedByOperatorID

string id

no

The agent who assigns the chat

FolderID

string id

no

The folder to assign the chat to

Forced

boolean

no

If true then even answered chats can be reassigned

Return values

None.