cURL
curl --request PUT \ --url https://api.chat-dash.com/v1/public/agents/assign \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "agentIds": [ "<string>" ], "clientId": "<string>" } '
{ "message": "Agent assigned to client successfully" }
Assign existing agents to a specific client
All requests to the ChatDash API must be validated with the agency API Key found on your agency profile
The IDs of the agents to assign
The ID of the client to assign the agent to
OK
"Agent assigned to client successfully"