Skip to content

Team Management

Organize agents into teams for live chat routing. Create teams, assign supervisors, add or remove members, and query team composition. Teams control how incoming conversations are distributed across agents and enable supervisor oversight of agent activity.

Create a team

Request

Create a new team for organizing agents. Specify the team name, supervisor, and client reference.

Security
apikeyAuth
Bodyapplication/jsonrequired
idstring, (uuid)

Required for update/remove.

Example:"f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901"
clientRefstring
Example:"MyClient"
teamNamestringrequired
Example:"Support Team"
priorityinteger
Example:1
selectedNextNodeIdstring or null
Example:"node-abc123"
supervisorEmailstring or null
Example:"supervisor@example.com"
curl -i -X POST \
  https://ecommunicate-api-docs.redocly.app/_mock/apis/omnichannel/pl4chat-service/team/add \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "clientRef": "MyClient",
    "teamName": "Support Team",
    "priority": 1,
    "selectedNextNodeId": "node-abc123"
  }'

Responses

The newly created team object

Bodyapplication/json
idstring, (uuid)
Example:"f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901"
clientRefstring
Example:"Growthpoint"
teamNamestring
Example:"Support Team"
selectedNextNodeIdstring
Example:"node-abc123"
priorityinteger
Example:1
Response
{ "id": "f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901", "clientRef": "Growthpoint", "teamName": "Support Team", "selectedNextNodeId": "node-abc123", "priority": 1 }