Change the agent of a client

POSThttp://localhost:4000/api/clients/changeClientAssignee

Assigns a client to another agent. Send assignedToUserId as null to remove the agent.

Your API key needs the clients.CHANGE_ASSIGNEE permission.

Body Params

idintegerrequired

ID of the client.

assignedToUserIdinteger

ID of the new agent, or null to remove the agent.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.