Bold360 and BoldChat Developer Center

Assign a chat to an agent, department or folder

This pseudocode example assigns a chat to an agent, department or folder.

Important: Replace the following variables with the corresponding agent ID and chat ID values.
  • $operatorId: The ID of the agent you want to assign the chat to
  • $chatId: The ID of the chat you want to assign
curl "https://api.boldchat.com/aid/$accountId/data/rest/json/v1/assignChat?ChatID=$chatId&OperatorID=$operatorId&auth=$authHash"
Response
{"Status":"success"}