Skip to main content
PUT
/
agents
/
assign
Assign Agents to Client
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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.chat-dash.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Body

application/json
agentIds
string[]
required

The IDs of the agents to assign

clientId
string
required

The ID of the client to assign the agent to

Response

OK

message
string
Example:

"Agent assigned to client successfully"