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.
- 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.
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.