---
title: "🛡️ Count your photo albums."
method: GET
path: "/api/v1/photo-albums/count"
tags: ["Photo Albums"]
---

# 🛡️ Count your photo albums.

`GET /api/v1/photo-albums/count`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cardinalapps/apis/cardinal-media-server-api/docs/api/v1/photo-albums/count/get.ts> (a function with typed inputs; its response is checked against the schema)

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

## Response `200`

- number

## Other responses

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

---

[API](https://skmtc.dev/cardinalapps/apis/cardinal-media-server-api.md) - [All operations](https://skmtc.dev/cardinalapps/apis/cardinal-media-server-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cardinalapps/apis/cardinal-media-server-api/revisions/7b5e4555e84f?raw)
