# Favorites A consumer's saved listings. Consumer identity comes only from the auth context: a client token with a `pk_` key, or `X-Client-Id` with an `sk_` key. A `clientId` in the URL or body is never used; a `pk_` request without a token is `401 client_token_required`. A favorite stores the `listingKey` only (1–64 characters of `A-Z a-z 0-9 _ -`). The listing must exist (`404 listing_not_found`), and listing responses carry `isFavorite` for the consumer. ## Notices Two [notices](../concepts/webhooks.md) concern favorites, each for one consumer (`clientId`): - `favorite.listing_updated`: a sync cycle changed one or more of the consumer's favorites. `changes` names each listing with its `kinds`: `price`, `status`, `photos`, `open_house`. - `favorite.listing_removed`: favorites of the consumer were removed from the data. The favorites themselves are gone, and so must be any copy of the listing you stored. They carry keys and kinds only. Fetch the listing before you tell the consumer anything ([alert emails](../guides/alert-emails.md)). No change notice is made while the account is suspended. ## Endpoints Each has its own page, with its parameters, its answers field by field and its errors: - [`GET /v1/favorites`](endpoints/list-favorites.md) - [`POST /v1/favorites`](endpoints/create-favorite.md) - [`GET /v1/favorites/{id}`](endpoints/get-favorite.md) - [`DELETE /v1/favorites/{id}`](endpoints/delete-favorite.md)