---
title: "Add Person Face Endpoint"
method: POST
path: "/addPersonFace"
---

# Add Person Face Endpoint

`POST /addPersonFace`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/addPersonFace`
- Auth: none declared

Endpoint for adding a person to the face recognition system.
If scanExistingFaces is "true", starts a background scan for matches in existing stored faces.
If bulk is "true", skips folder update, persons emit, and duplicate scan; call completeBulkFaceUpload when done.

Args:
    name: The person's name
    projectId: The project ID this person belongs to
    category: Category/type of person (default: "person")
    position: The person's position/role (optional)
    link: Link associated with the person (optional)
    faceImageId: Face image ID to associate with the person (used to fetch image from S3)
    scanExistingFaces: If "true", scan existing images for this person after registration
    bulk: If "true", do not run background tasks (folders, persons emit, duplicate scan); caller must call completeBulkFaceUpload at the end

Returns:
    JSON response with success status and person details

## Request body `application/x-www-form-urlencoded`

- BodyAddPersonFaceEndpointAddPersonFacePost
  - `name` string, required
  - `projectId` string, required
  - `category` string, nullable
  - `position` string, nullable
  - `link` string, nullable
  - `faceImageId` string, required
  - `scanExistingFaces` string, nullable
  - `bulk` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pavoot/apis/pavoot-api.md) - [All operations](https://skmtc.dev/pavoot/apis/pavoot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pavoot/apis/pavoot-api/revisions/8c0cd91c2a05?raw)
