> For the complete documentation index, see [llms.txt](https://elyssa-app.gitbook.io/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elyssa-app.gitbook.io/api-docs/items.md).

# Items

**Get url's of photos by item id**

<mark style="color:blue;">`GET`</mark> `/items/photos`

Retrieve all photos associated with an item.

**Query params**

| Name                                           | Type | Description           |
| ---------------------------------------------- | ---- | --------------------- |
| itemId<mark style="color:red;">\*</mark>       | uuid | itemId for get photos |
| x-company-id<mark style="color:red;">\*</mark> | uuid | Company Id            |

{% tabs %}
{% tab title="200: OK Properties" %}

```json
	
{
  "success": true,
  "timestamp": "2026-02-06T19:24:04.374Z",
  "data": {
    "photos": [
      {
        "photoId": 4342342,
        "url": "string",
        "size": 1232,
        "createdAt": "2026-02-06T19:24:04.374Z"
      }
    ],
    "totalPhotos": 30
  }
}
```

{% endtab %}

{% tab title="400: Bad Request " %}

```json
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "field": "string"
  },
  "timestamp": "2026-02-06T18:36:21.561Z"
}
```

{% endtab %}

{% tab title="404: Not Found " %}

```json
 {
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "field": "string"
  },
  "timestamp": "2026-02-06T18:36:21.561Z"
}
```

{% endtab %}
{% endtabs %}
