Update Agents of Department
Update the agents of a specific department.
HTTP Method | URL | Requires Auth |
---|---|---|
|
|
Permissions required:
manage-livechat-departments
add-livechat-department-agents
Path Variables
Key | Example Value | Description |
---|---|---|
|
| The department ID. |
Body Parameters
Key | Example Value | Description |
---|---|---|
|
| The object that contains the agent details. |
|
| The agent ID. |
|
| The user name of the agent. |
|
| The number of chats served by the agent. Enter a value if you want to reset the stored value. Note: This field is used by the routing algorithm to determine the agents that have served the least number of chats and assign new chats to them. |
|
| The order in which agents are assigned to the chats. |
|
| The object containing the details of the agent that you want to remove. |
The agents in upsert
will be assigned to the department. In case the agents are already there, their information will be updated. The agents in the remove
key will be unassigned from the department.
Example Call
Example Response
Last updated