---
title: "GET /persongroups/{personGroupId}/persons"
method: GET
path: "/persongroups/{personGroupId}/persons"
---

# GET /persongroups/{personGroupId}/persons

`GET /persongroups/{personGroupId}/persons`

## Request

- Base URL: `{Endpoint}/face/v1.0`
- URL: `{Endpoint}/face/v1.0/persongroups/{personGroupId}/persons`
- Auth: API key in header `Ocp-Apim-Subscription-Key`

List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person).

## Path parameters

- `personGroupId` string, required

## Query parameters

- `start` string
- `top` integer

## Response `200`

A successful call returns an array of person information that belong to the person group.

- Person[]: An array of Persons.
  - `name` string: User defined name, maximum length is 128.
  - `userData` string: User specified data. Length should not exceed 16KB.

## Other responses

- `default`: Error response.

## Changes

- **2018-01-03** `d8fb8ca6c06c`: 1 info
  - api operation id `Person_List` removed and replaced with `PersonGroupPerson_List`
- **2017-12-28** `e67414f9aeba`: 1 info
  - api operation id `PersonGroupPerson_List` removed and replaced with `Person_List`

[Operation history](https://skmtc.dev/azure/apis/cognitiveservices-face/changes/persongroups/:personGroupId/persons/get.md)

---

[API](https://skmtc.dev/azure/apis/cognitiveservices-face.md) - [All operations](https://skmtc.dev/azure/apis/cognitiveservices-face/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/cognitiveservices-face/revisions/a35087dfdbc2?raw)
