---
title: "POST /largefacelists/{largeFaceListId}/persistedfaces"
method: POST
path: "/largefacelists/{largeFaceListId}/persistedfaces"
---

# POST /largefacelists/{largeFaceListId}/persistedfaces

`POST /largefacelists/{largeFaceListId}/persistedfaces`

Add a face to a large face list. The input face is specified as an image with a targetFace rectangle. It returns a persistedFaceId representing the added face, and persistedFaceId will not expire.

## Path parameters

- `largeFaceListId` string, required

## Query parameters

- `userData` string
- `targetFace` integer[]

## Parameters

- `../../../Common/Parameters.json#/components/parameters/ImageUrl` — unresolved $ref

## Response `200`

A successful call returns a new persistedFaceId.

- PersistedFace — PersonFace object.
  - `persistedFaceId` string, uuid, required — The persistedFaceId of the target face, which is persisted and will not expire. Different from faceId created by Face - Detect and will expire in 24 hours after the detection call.
  - `userData` string — User-provided data attached to the face. The size limit is 1KB.

## Other responses

- `default` — Error response.

## Changes

- **2018-08-01** `dcdc115e9ae8` — 1 info
  - endpoint added
- **2017-12-28** `e67414f9aeba` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/cognitiveservices-face/changes/largefacelists/:largeFaceListId/persistedfaces/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/365eeb26c85a?raw)
