The Team object represents a team and contains the
URI, the team name, and the users associated with the
team. Table 10-11 shows the Finesse Team APIs to access
the Team object and list all team messages.
Table 10-11 Finesse Team APIs
MethodAPIDescription
G
E
T
http://<FQDN>/finesse/api/
Team/<id>?
includeLoggedOutAgents=tru
e
Allow a user to get a
copy of the Team
object
G
E
T
http://<FQDN>/finesse/api/
Team/<teamid>/TeamMessa
ges
Get a list of all active
team messages for a
particular team
A full list of the Team APIs, with details, can be found at
https://developer.cisco.com/docs/finesse/#team-apis.
The Python script in Example 10-11 shows how to make
an API call to get details about Team ID 2.
Example 10-11 Python Request to Get Finesse Team
Details
Click here to view code image
import requests
url = "https://hq-
uccx.abc.inc:8445/finesse/api/Team/2"
headers = {
'authorization': "Basic
QWdlbnQwMDE6Y2lzY29wc2R0",
'cache-control': "no-cache",
}
response = requests.request("GET", url,
headers=headers)
print(response.text)