---
title: "Get Recipient Images Endpoint"
method: GET
path: "/getRecipientImages"
---

# Get Recipient Images Endpoint

`GET /getRecipientImages`

Retrieves all image IDs that a recipient has access to from the image_shares table.

Required Query Parameters:
    - recipientId: The ID of the recipient

Optional Query Parameters:
    - projectId: Filter images by project ID

Returns:
    JSON response with list of image IDs and count:
    - success: boolean indicating if the request was successful
    - count: number of images found
    - imageIds: list of image IDs the recipient has access to

Errors:
    - 400 if recipientId is missing
    - 404 if recipient doesn't exist
    - 500 if database access fails

## Query parameters

- `recipientId` string, required
- `projectId` string

## 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/3966713f5d52/schema)
