---
title: "🛡️ Get your photos."
method: GET
path: "/api/v1/photos"
tags: ["Photos"]
---

# 🛡️ Get your photos.

`GET /api/v1/photos`

<h3>🛡️ Requires Capabilities: <code>Photos.Read</code></h3>

## Query parameters

- `metadata` boolean
- `thumbnails` boolean
- `photoAlbumEntries` boolean
- `orderBy` 'createdAt' | 'takenAt' | 'modifiedAt' | 'width' | 'height' | 'deviceMake' | 'deviceModel' | 'gpsLat' | 'gpsLng' | 'gpsAltitude'
- `take` number
- `skip` number
- `order` 'ASC' | 'DESC'

## Response `200`

Returns an array where the first item is an array of query results, and the second item is the total number of photos.

- unknown

## Other responses

- `401` — Possible reasons: The authorization token is invalid.
- `403` — Possible reasons: The user does not have sufficent capabilities.

---

[API](https://skmtc.net/cardinalapps/apis/cardinal-media-server-api.md) · [All operations](https://skmtc.net/cardinalapps/apis/cardinal-media-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cardinalapps/cardinal-media-server-api/revisions/0c30e5146acd/schema)
