Get Team IDs
Description
Fetches all team IDs to be used in Viewing Evaluations. Queries the /api/v2/teams endpoint.
Endpoint
GET https://api.mypurecloud.de/api/v2/teams
Request
Headers
- Authorization: Bearer Token
- Content-Type:
application/json
Body Parameters
N/A (GET request)
CURL Example
curl -X GET 'https://api.mypurecloud.de/api/v2/teams' \
-H 'Authorization: Bearer *******************' \
-H 'Content-Type: application/json'
Response
Body Parameters
| Name | Type | Description |
|---|---|---|
entities |
Array | Array of team objects |
id |
String | ID of the team (Used in other API calls) |
name |
String | Name of the team |
Sample Response
{
"entities": [
{
"id": "<TEAM_ID>",
"name": "Support Team A",
"description": "Customer Support Team",
"memberCount": 10,
"selfUri": "/api/v2/teams/<TEAM_ID>"
}
],
"total": 1,
"pageCount": 1
}