---
title: "Add Images Route"
method: POST
path: "/addImages"
---

# Add Images Route

`POST /addImages`

Endpoint for registering multiple images by UUID and queuing tagging tasks to SQS.

Sync on purpose: every call inside add_images blocks (SQLAlchemy, boto3), so as
an async handler a 50-image upload held the event loop for seconds and stalled
every other request on the worker. FastAPI runs sync handlers in its threadpool.

## Request body

- AddImagesRequest
  - `imageIds` string[], required
  - `projectId` integer, required
  - `photographerId` string, required
  - `folderName` string, nullable
  - `presetBrandTags` string[], nullable
  - `presetPersonalizedTags` string[], nullable
  - `presetPersonTags` string[], nullable
  - `presetGeneralTags` string[], nullable
  - `presetCustomCategoryTags` object, nullable
  - `uploadLinkToken` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pavoot/apis/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/16997cca6697/schema)
