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

# Get Recipient Images Endpoint

`GET /getRecipientImages`

## 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/getRecipientImages`
- Auth: none declared

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/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)
