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

# POST /persongroups/{personGroupId}/persons

`POST /persongroups/{personGroupId}/persons`

Create a new person in a specified person group.

## Path parameters

- `personGroupId` string, required

## Request body

- NameAndUserDataContract — A combination of user defined name and user specified data for the person, largePersonGroup/personGroup, and largeFaceList/faceList.
  - `name` string — User defined name, maximum length is 128.
  - `userData` string — User specified data. Length should not exceed 16KB.

## Response `200`

A successful call returns a new personId created.

- Person — A combination of user defined name and user specified data for the person, largePersonGroup/personGroup, and largeFaceList/faceList.
  - `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_Create` removed and replaced with `PersonGroupPerson_Create`
- **2017-12-28** `e67414f9aeba` — 1 info
  - api operation id `PersonGroupPerson_Create` removed and replaced with `Person_Create`

[Change history](https://skmtc.dev/azure/apis/cognitiveservices-face/changes/persongroups/:personGroupId/persons/post.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/1977bd3466df?raw)
