Retrieve a team
Operation ID: getTeam
Group: People Management › Teams
Open in the interactive reference
GET /people/teams/{id}
Read-only: Reads and returns; changes nothing.
Retrieves a team. Use the team's id, not its teamNumber.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Api-Version |
header | string · v1 | yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1. |
id |
path | string | yes | The unique identifier of the team you want to retrieve. |
Response
200 Success
Under data (getTeamOutput):
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes | The unique identifier for the team. |
teamNumber |
string | no | The system-generated team number. Absent while none has been assigned. |
name |
string | yes | The name of the team. |
teamType |
any | no | The type of the team. One of: "hrTeam", "psaTeam". |
status |
any | no | The status of the team, derived from its dates. 'planned' before the start date, 'active' between the dates, 'inactive' after the end date. One of: "planned", "active", "inactive". |
startDate |
string | no | The first day the team exists. Format YYYY-MM-DD. |
endDate |
string | no | The last day the team exists. Format YYYY-MM-DD. Absent for a team with no planned end. |
employeeCount |
number | no | The number of active members of the team. |
parentId |
string | no | The identifier of the parent team. Absent for a top-level team. See id on GET people/teams/:id. |
parentName |
string | no | The name of the parent team. Absent for a top-level team. |
lastModifiedDate |
date-time | yes | The date and time the team record last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
{
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"teamNumber": "<teamNumber>",
"name": "<name>",
"teamType": "hrTeam",
"status": "planned",
"startDate": "<startDate>",
"endDate": "<endDate>",
"employeeCount": 0,
"parentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parentName": "<parentName>",
"lastModifiedDate": "2026-01-15T09:30:00.000Z"
},
"diagnostics": [
{
"code": "<code>",
"message": "<message>",
"severity": "error",
"path": [
"<path>"
],
"details": "<details>"
}
]
}
Errors
| Code | Status |
|---|---|
NOT_FOUND |
400 |
Statuses
400— Invalid request or business failure. Codes: NOT_FOUND401— The request carries no valid access token.403— Not authorized404— Not found429— Too many requests from this client address. The response has no body and noRetry-Afterheader.500— Internal server error