---
title: "List of Favorites in a property for the user that is authorized"
method: GET
path: "/datainsights/v1.1/favorites"
tags: ["Favorites"]
---

# List of Favorites in a property for the user that is authorized

`GET /datainsights/v1.1/favorites`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

Get a list of all the created favorites for a user on a specific property.

## Headers

- `X-PROPERTY-ID` integer, required

## Response `200`

OK

- Favorites
  - `favorites` FavoriteReportTitle[]
    - `id` integer, required: Favorite Id
    - `rank` integer, required: Rank associated to the favorite in order to display the reports
    - `report_id` integer: Report, Stock Report or Hub Id favorited
    - `entity_id` integer: Report, Stock Report or Hub Id favorited
    - `report_kind` 'report' | 'stock_report' | 'hub': Report Kind
    - `kind` 'report' | 'stock_report' | 'hub': Favorite Kind
    - `report_title` string, required: Report title
    - `title` string, required: Entity title
  - `total` integer: Number of favorites for this user on the current property

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/cloudbeds/apis/data-insights-api.md) - [All operations](https://skmtc.dev/cloudbeds/apis/data-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/data-insights-api/revisions/0a16807149c2?raw)
