Agent Management
Get Teams
Retrieve teams list
GET
/
agent
/
teams
Authorization
Query
curl --request GET \
--url https://chat.zoko.io/v2/agent/teams \
--header 'apikey: <apikey>'
[
{
"active": true,
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"memberCount": 123,
"name": "<string>"
}
]
Authorizations
apikey
string
headerrequiredAuthentication is done via apikey
provided for your account
Include the following in your request header
apikey: "your_apikey_here"
Query Parameters
includeAgents
boolean
should the response include agents of the team
Response
200 - application/json
active
boolean
is the agent active?
description
string
team description
id
string
team id
memberCount
integer
number of agents in the team
name
string
team name
curl --request GET \
--url https://chat.zoko.io/v2/agent/teams \
--header 'apikey: <apikey>'
[
{
"active": true,
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"memberCount": 123,
"name": "<string>"
}
]