---
title: "List favorites (v2)"
method: GET
path: "/v2/favorites/"
tags: ["favorites"]
---

# List favorites (v2)

`GET /v2/favorites/`

List all of the authenticated user's favorites across groups, views, and contacts. Returns `{ data: { favorites: [...], pagination: { nextCursor, count } } }`. Supports `?take=`, `?cursor=`, and `?orderBy[ranking]=asc|desc`.

## Query parameters

- `type` 'group' | 'view' | 'contact'
- `orderBy` object
  - `ranking` unknown
- `take` integer
- `cursor` string, uuid

## Response `200`

Successful response

- object
  - `data` object, required
    - `favorites` object[], required
      - `id` string, uuid, required
      - `user_id` string
      - `group_id` string, uuid, nullable
      - `view_id` string, uuid, nullable
      - `contact_id` string, uuid, nullable
      - `ranking` integer, nullable
      - `created_at` union, required
        - string, date-time
        - unknown
      - `updated_at` union, required
        - string, date-time
        - unknown
      - `groups` object, nullable
      - `views` object, nullable
      - `contacts` object, nullable
    - `pagination` object
      - `nextCursor` string, nullable
      - `count` integer

## Other responses

- `400` — Request body failed validation.
- `401` — Missing or invalid API key.
- `403` — Valid key, insufficient permission.
- `404` — Resource does not exist.
- `409` — Request body failed validation.
- `429` — Rate limit exceeded.
- `500` — Unexpected server error.

---

[API](https://skmtc.net/getdex/apis/dex-public-api.md) · [All operations](https://skmtc.net/getdex/apis/dex-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getdex/dex-public-api/versions/6f01cd52ac12/schema)
