---
title: "List favorites"
method: GET
path: "/v2/users/{userId}/favorites"
tags: ["Users"]
---

# List favorites

`GET /v2/users/{userId}/favorites`

List favorite items for a user, optionally filtered by type and search query.

## Query parameters

- `types` string[]
- `query` string

## Response `200`

OK

- ListFavoritesResponse — Response containing a list of resolved favorites.
  - `favorites` ResolvedFavorite[]
    - `favorite` FavoriteItem — A single favorite item.
      - `favoriteId` string — Unique identifier for the favorite item.
      - `type` string — The type of favorite.
      - `params` object — Key-value pairs of parameters for the favorite.
      - `displayName` string — Display name for the favorite item.
      - `createdAt` string, date-time — Timestamp when the favorite was created.
    - `type` string — The type of favorite.
    - `url` string — The URL for this favorite.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/spotnana/apis/user-management-api.md) · [All operations](https://skmtc.net/spotnana/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/user-management-api/revisions/920fb84cbf70/schema)
