---
title: "Retrieve a Room Photo by ID"
method: GET
path: "/properties-api/room-photos/photos/{photoId}"
tags: ["Room Photos"]
---

# Retrieve a Room Photo by ID

`GET /properties-api/room-photos/photos/{photoId}`

## Request

- Base URL: `https://open-api.guesty.com/v1`
- URL: `https://open-api.guesty.com/v1/properties-api/room-photos/photos/{photoId}`
- Auth: API key in header `authorization`

Get a room photo mapping for a photo, including photo id, space id and photo URL

## Path parameters

- `photoId` string, required

## Response `200`

Get room photo mapping for a specific photo, including photo ID, space ID, and photo URL.

- object
  - `_id` string
  - `accountId` string
  - `spaceId` string
  - `photoId` string
  - `photoUrl` string

## Other responses

- `403`: Unauthorized Request.
- `404`: Photo not found.

---

[API](https://skmtc.dev/guesty/apis/guesty-open-api.md) - [All operations](https://skmtc.dev/guesty/apis/guesty-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/guesty/apis/guesty-open-api/revisions/3122b8618183?raw)
