---
schema_version: "1"
id: 536055ed6469fd2c3a2b40ae8e3e03e96e8a6356baafd186f24f8e3f7c61e347
title: Get a Favorite
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_resources_favorite_get.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_favorite_get.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: db53df508a24e0026a8c901f329402c3722a3d11e7dda1f7c2fb289858390ca3
description: Get a favorite.
---
# Get a Favorite

Get a favorite.

Resource

/ui-api/favorites/${favoriteId}

favoriteId—The ID of a favorite.

Available Version

41.0

HTTP Method

GET

Response Body

[Favorite](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_favorite.htm#ui_api_responses_favorite "A single favorite.")